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

WordPress Trac noreply at wordpress.org
Thu Sep 8 18:16: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 has-unit-tests  |     Focuses:
--------------------------------------+------------------

Comment (by flixos90):

 Replying to [comment:9 swissspidy]:
 > What about removing that third parameter and always requiring a key =>
 value pair?

 I was aiming for parity with how all the `*_Query` classes handle their
 order arguments, but I'm certainly open to remove that parameter.

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


More information about the wp-trac mailing list