[wp-trac] [WordPress Trac] #25122: First nav menu automatically adds all pages (including sub pages) but doesn't preserve page hierarchy
WordPress Trac
noreply at wordpress.org
Fri Aug 23 06:20:34 UTC 2013
#25122: First nav menu automatically adds all pages (including sub pages) but
doesn't preserve page hierarchy
--------------------------+-----------------------------
Reporter: jamescollins | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 3.6
Severity: normal | Keywords:
--------------------------+-----------------------------
When you first visit {{{/wp-admin/nav-menus.php}}} in WordPress 3.6, if
you don't already have a menu defined it automatically creates a new menu
with all published pages in the menu.
On sites with many published pages and particularly sites with multiple
levels of pages (child/parent pages), all of those pages are added as top
level nav menu items.
(After the first menu is created, subsequent new menu requests create
empty menus with no menu items in them).
The functionality was introduced in [23441].
Previous versions (such as 3.5) didn't automatically create a new menu.
Instead, when the first nav menu is automatically created I think we
should either:
1. only add all top level pages by default, or
2. add all pages (including sub pages) but preserve the page hierarchy
into the nav menu.
My preference would be option 1.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25122>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list