[buddypress-trac] [BuddyPress Trac] #6864: `bp_sort_by_key()` is slow

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


#6864: `bp_sort_by_key()` is slow
-----------------------------------+---------------------------
 Reporter:  boonebgorges           |       Owner:  boonebgorges
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  2.5
Component:  Core                   |     Version:
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  2nd-opinion has-patch  |
-----------------------------------+---------------------------

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/6864#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list