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

WordPress Trac noreply at wordpress.org
Tue Oct 25 13:45:48 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 has-unit-   |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by flixos90):

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


Comment:

 In [attachment:37128.6.diff] I added three unit tests for the customizer
 that checks that the sorted objects still have valid keys for controls,
 sections and panels respectively.

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


More information about the wp-trac mailing list