[buddypress-trac] [BuddyPress] #5108: PHP 5.4+ strict standards warnings

buddypress-trac noreply at wordpress.org
Sat Jul 27 13:22:10 UTC 2013


#5108: PHP 5.4+ strict standards warnings
--------------------------+------------------
 Reporter:  boonebgorges  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  1.9
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by boonebgorges):

 Replying to [comment:12 slaFFik]:
 > And you are using this: {{{buddypress()->activity}}}
 >
 > This will break in PHP 4, so this
 http://buddypress.trac.wordpress.org/changeset/7290 just doesn't make any
 sense.

 Again, we are *not* trying to maintain compatibility with PHP 4. Instead,
 we are trying to ensure compatibility with existing plugins by not
 removing existing methods that may be called explicitly. This has nothing
 to do with PHP versions. (It's true that, in the case of a class
 constructor, what I'm talking about is an edge case, because few people
 call them explicitly. But it does happen, and I remember BP plugins
 breaking for this reason before.)

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5108#comment:13>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list