[wp-trac] [WordPress Trac] #15533: wp_get_nav_menu_items order doesn't work

WordPress Trac noreply at wordpress.org
Sun Aug 11 19:09:30 UTC 2013


#15533: wp_get_nav_menu_items order doesn't work
-------------------------------------------+------------------------------
 Reporter:  markoheijnen                   |       Owner:
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Menus                          |     Version:  3.0
 Severity:  minor                          |  Resolution:  invalid
 Keywords:  close 2nd-opinion needs-codex  |
-------------------------------------------+------------------------------
Changes (by c3mdigital):

 * keywords:   => close 2nd-opinion needs-codex
 * status:  new => closed
 * resolution:   => invalid


Comment:

 The 'orderby' argument is ignored when output is set to ARRAY_A but you
 can specify orderby in the 'output_key' argument then order works as
 expected. Is there a reason this function uses the output_key argument
 instead of orderby?

 I think we just need to update the codex.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/15533#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list