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

WordPress Trac noreply at wordpress.org
Thu Oct 2 04:43:56 UTC 2014


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

Comment (by DrewAPicture):

 I think anytime we're dealing with something that could be construed as a
 "default" value -- making a change like this needs to be documented as
 part of the overall "changelog" for that function.

 That goes for actual arguments supplied to the function, as well as array
 items of arguments (which we're now documenting through hash notations). I
 think it was a lot easier to dismiss notating these changes before we
 started documenting them, but now it's time to have a little more
 accountability in core saying, "no, you aren't crazy, we changed this. And
 this is when."

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


More information about the wp-trac mailing list