[buddypress-trac] [BuddyPress Trac] #7925: Nouveau: $this inside a closure doesn't work in PHP 5.3

buddypress-trac noreply at wordpress.org
Fri Jul 20 20:29:18 UTC 2018


#7925: Nouveau: $this inside a closure doesn't work in PHP 5.3
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  3.2.0
Component:  Templates     |     Version:  3.0.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:  (none) => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12192" 12192]:
 {{{
 #!CommitTicketReference repository="" revision="12192"
 Avoid the use of `$this` inside closures in Nouveau AJAX handlers.

 This construction is not compatible with PHP 5.3.

 Props r-a-y.
 Fixes #7925.
 }}}

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


More information about the buddypress-trac mailing list