[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 13 19:19:06 UTC 2018


#7925: Nouveau: $this inside a closure doesn't work in PHP 5.3
--------------------------+--------------------
 Reporter:  boonebgorges  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  3.2.0
Component:  Templates     |    Version:  3.0.0
 Severity:  normal        |   Keywords:
--------------------------+--------------------
 Prior to PHP 5.3, `$this` references do not inside of a closure that
 appears in a class method. See eg
 https://buddypress.trac.wordpress.org/browser/tags/3.1.0/src/bp-templates
 /bp-nouveau/includes/groups/loader.php?annotate=blame&marks=58#L56

 This needs to be refactored out, here and anywhere else that a similar
 construction is used.

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


More information about the buddypress-trac mailing list