[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
Thu Sep 1 08:46:57 UTC 2016


#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:  chriscct7
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
Component:  Menus                                |  Release
 Severity:  normal                               |     Version:  3.7
 Keywords:  good-first-bug needs-testing has-    |  Resolution:
  patch                                          |     Focuses:  ui
-------------------------------------------------+-------------------------

Comment (by mdgl):

 Patch refreshed. This should perhaps even be categorised as a "bug" rather
 than an "enhancement". Note that a similar issue exists within class
 `Walker_Page` and likely other "walker" classes. These remain unpatched.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28620#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list