[buddypress-trac] [BuddyPress Trac] #7299: PHP 5.2 -> PHP 5.3 code improvements

buddypress-trac noreply at wordpress.org
Thu Dec 29 21:13:42 UTC 2016


#7299: PHP 5.2 -> PHP 5.3 code improvements
-------------------------+------------------
 Reporter:  DJPaul       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.8
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by boonebgorges):

 In [changeset:"11362"]:
 {{{
 #!CommitTicketReference repository="" revision="11362"
 Use a closure for `bp_sort_by_key()` callback.

 Previously, `bp_sort_by_key()` was refactored to avoid the use
 of `create_function()`. See #6864. This refactoring needed to be
 PHP 5.2-compatible, which required a workaround for the
 unavailabilty of closures. This workaround can now be removed.

 See #7299.
 }}}

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


More information about the buddypress-trac mailing list