[wp-trac] [WordPress Trac] #37128: Introduce helper function `wp_list_sort()`

WordPress Trac noreply at wordpress.org
Fri Aug 26 04:06:29 UTC 2016


#37128: Introduce helper function `wp_list_sort()`
----------------------------------------+------------------
 Reporter:  flixos90                    |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  4.7
Component:  General                     |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------
Changes (by DrewAPicture):

 * milestone:  Awaiting Review => 4.7


Comment:

 `WP_List_Util` is certainly interesting. I think I'd like to see us bail
 early in the `filter()` method if the `$operator` doesn't match a
 whitelist. Also still needs unit tests :-)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37128#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list