[wp-trac] [WordPress Trac] #38956: Customize Menus: menus assigned to locations with limited depths should not allow deeper depths
WordPress Trac
noreply at wordpress.org
Sat Nov 26 23:54:11 UTC 2016
#38956: Customize Menus: menus assigned to locations with limited depths should not
allow deeper depths
------------------------------+-----------------------------
Reporter: celloexpressions | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: 4.3
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+-----------------------------
Comment (by westonruter):
This is a good one. If a theme doesn't have styling to support tertiary-
level submenus, then they shouldn't be allowed. Basically I think this
will need to be a param added `register_nav_menu()`, and when a menu is
assigned to that location it will need to prevent nesting deeper than the
location to which the menu is assigned. It gets tricky however in the case
where the same menu may be assigned to multiple nav menus which may have
conflicting depths mandated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38956#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list