[wp-trac] [WordPress Trac] #56946: WP 6.1-RC6: `menu-item-has-children` class is not being applied correctly

WordPress Trac noreply at wordpress.org
Fri Nov 11 00:05:13 UTC 2022


#56946: WP 6.1-RC6: `menu-item-has-children` class is not being applied correctly
---------------------------------------------+----------------------------
 Reporter:  webmandesign                     |       Owner:  peterwilsoncc
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.1.1
Component:  Menus                            |     Version:  6.1
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54801" 54801]:
 {{{
 #!CommitTicketReference repository="" revision="54801"
 Menus: Apply `menu-item-has-children` class in sub-menus.

 Ensure the `menu-item-has-children` class is added to sub-menu items when
 `wp_nav_menu()` is called with the `depth` parameter specified to a non-
 zero value.

 Follow up to [54478].

 Props davidvongries, fpodhorsky, hellofromTonya, innovext, larsmqller,
 LeonidasMilossis, mattkeys, mukesh27, nuvoPoint, ocean90, outrankjames,
 petitphp, SergeyBiryukov, sippis, webmandesign.
 Fixes #56946.
 See #28620.
 }}}

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


More information about the wp-trac mailing list