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

WordPress Trac noreply at wordpress.org
Sat Aug 13 21:11:12 UTC 2016


#15533: wp_get_nav_menu_items order doesn't work
---------------------------------------+------------------------------
 Reporter:  markoheijnen               |       Owner:
     Type:  defect (bug)               |      Status:  assigned
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Menus                      |     Version:  3.0
 Severity:  normal                     |  Resolution:
 Keywords:  needs-docs good-first-bug  |     Focuses:
---------------------------------------+------------------------------
Changes (by DrewAPicture):

 * keywords:  needs-docs => needs-docs good-first-bug
 * owner:  DrewAPicture =>
 * status:  accepted => assigned


Comment:

 @c3mdigital I'll bet the reason `output_key` exists is to explicitly make
 it possible to differentiate the order of posts ''queried'' via
 `get_posts()` vs ''displayed'' via `wp_get_nav_menu_items()`.

 I think all we really need here is some clarifying documentation for the
 purpose/intent `output_key` argument.

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


More information about the wp-trac mailing list