[buddypress-trac] [BuddyPress] #4274: Error bp-group-hierarchy-classes.php on line 345

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Jun 19 10:23:24 UTC 2012


#4274: Error bp-group-hierarchy-classes.php on line 345
-------------------------------------+-----------------------
 Reporter:  j.conti                  |       Owner:
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  1.6
Component:  Backwards Compatability  |     Version:
 Severity:  major                    |  Resolution:
 Keywords:                           |
-------------------------------------+-----------------------

Comment (by DJPaul):

 Thanks for the report. It's true that the error is reported from another
 the plugin, but a change in BuddyPress core broke it. So this is a
 backwards compatibility problem. It seems that in 1.6 we've gone through
 the BP_Groups_Group class and added the static function keyword to
 appropriate functions. At the very least, we need to un-static
 group_exists() but mark the function as static in the phpdoc.

 I also think we should go through the entire BP_Groups_Group class, and
 take out any static keywords that are new in 1.6.  (audit the other
 components' classes, too?)

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


More information about the buddypress-trac mailing list