[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 13:09:30 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 boonebgorges):

 (In [6119]) Removes access declarations on legacy methods in bp-groups-
 classes.php

 Prior versions of BuddyPress were written for PHP4 compatibility, which
 meant
 that method visibility/access/static was not possible. WP and BP now
 require
 PHP5, which means that new methods can use PHP5+ access declarations.
 However,
 explicitly declaring 'static' or visibility on existing methods causes
 backward compatibility issues, because any existing plugin that extends
 these
 classes will throw fatal errors if they do not declare the same
 visibility/
 static as the parent class.

 See #4274

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


More information about the buddypress-trac mailing list