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

WordPress Trac noreply at wordpress.org
Tue Oct 25 12:56:22 UTC 2016


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

 * keywords:  has-patch needs-dev-note has-unit-tests => has-patch needs-
     dev-note needs-unit-tests


Comment:

 Replying to [comment:35 swissspidy]:
 > @westonruter Wanna test this with the customizer again?

 Said this already to @flixos90: The `test_wp_list_sort_preserve_keys()` is
 good but my intention was to have a test which covers the sorting
 behaviour for the customizer specifically.

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


More information about the wp-trac mailing list