[wp-trac] [WordPress Trac] #47436: Menu depth doesn't affect menu-item-has-children
WordPress Trac
noreply at wordpress.org
Thu May 30 17:19:32 UTC 2019
#47436: Menu depth doesn't affect menu-item-has-children
--------------------------+-----------------------------
Reporter: mikeybinns | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 5.2.1
Severity: trivial | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
Hi,
When you add a depth of 1 to wp_nav_menu it removes all the sub menus, but
it leaves menu-item-has-children class on the original menu li tags, which
means it is styled like it has a dropdown.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47436>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list