[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
Wed Jul 27 20:57:36 UTC 2022
#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: audrasjb
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.1
Component: Menus | Version: 3.7
Severity: normal | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses: ui
unit-tests |
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* keywords: good-first-bug has-patch needs-testing => good-first-bug has-
patch needs-unit-tests
Comment:
The last patch works fine on my side (see the above before/after
screenshots).
As per today's new contributor meeting, adding `needs-unit-tests`, as
recommended by Sergey.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28620#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list