[wp-trac] [WordPress Trac] #29638: Multiple nav menu items added in reverse order
WordPress Trac
noreply at wordpress.org
Fri Sep 12 09:55:22 UTC 2014
#29638: Multiple nav menu items added in reverse order
-------------------------+-----------------------------
Reporter: smerriman | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Whenever I create a Wordpress site, I create all of the pages I want, in
the correct order.
I then create a nav menu, check all of the pages, and click 'Add to menu'.
All of the pages at added at once - ''in reverse order''.
I then need to manually drag every item to the opposite end of the menu to
reverse the order.
I'm guessing this is due to the fact the `$_nav_menu_placeholder` variable
is negative and decremented for every checkbox, but I can't figure out why
this would be the case.
Whether this variable is at fault, or the saving logic should be adapted,
it seems illogical for the reverse order to be used.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29638>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list