[wp-trac] [WordPress Trac] #28620: When $depth argument is used in wp_nav_menu last level menu items still have .menu-item-has-children class, even though they are not shown
WordPress Trac
noreply at wordpress.org
Tue Jun 24 11:38:16 UTC 2014
#28620: When $depth argument is used in wp_nav_menu last level menu items still
have .menu-item-has-children class, even though they are not shown
---------------------------+------------------------------
Reporter: slobodanmanic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 3.7
Severity: normal | Resolution:
Keywords: | Focuses: ui
---------------------------+------------------------------
Comment (by slobodanmanic):
Worth noting that this can be achieved by using {{{.menu li li li li}}}
type selectors, but last level class would be cleaner.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28620#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list