[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:02:11 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:                |
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7332"]:
 {{{
 #!CommitTicketReference repository="" revision="7332"
 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:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list