[buddypress-trac] [BuddyPress] #5126: BP_Group_Extension::get_screen_callback() returns values incompatible with PHP 5.2.x

buddypress-trac noreply at wordpress.org
Thu Aug 1 00:06:39 UTC 2013


#5126: BP_Group_Extension::get_screen_callback() returns values incompatible with
PHP 5.2.x
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  1.8.1
Component:  Groups        |     Version:  1.8
 Severity:  critical      |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"7333"]:
 {{{
 #!CommitTicketReference repository="" revision="7333"
 Define BP_Group_Extension screen callbacks non-statically

 These callbacks should not be defined statically, because then the $this
 keyword is not available in the callbacks. This causes backward
 compatibility
 issues, especially with PHP 5.2.x, where it results in fatal errors.

 Fixes #5126
 }}}

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


More information about the buddypress-trac mailing list