[wp-trac] [WordPress Trac] #29460: Change the default orderby in wp_get_nav_menus()

WordPress Trac noreply at wordpress.org
Mon Sep 29 15:49:45 UTC 2014


#29460: Change the default orderby in wp_get_nav_menus()
-------------------------------------------------+-------------------------
 Reporter:  pento                                |       Owner:
     Type:  defect (bug)                         |  SergeyBiryukov
 Priority:  normal                               |      Status:  reopened
Component:  Menus                                |   Milestone:  4.1
 Severity:  normal                               |     Version:  4.0
 Keywords:  has-patch needs-unit-tests needs-    |  Resolution:
  docs                                           |     Focuses:
-------------------------------------------------+-------------------------
Changes (by DrewAPicture):

 * keywords:  has-patch needs-unit-tests => has-patch needs-unit-tests
     needs-docs
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Sorry, late to the party here.

 I'd like to see an additional `@since 4.1.0` tag added to the docblock for
 `wp_get_nav_menus()` specifying that the default 'orderby' argument value
 changed from 'none' to 'name'.

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


More information about the wp-trac mailing list