[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 02:41:09 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:
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54809" 54809]:
 {{{
 #!CommitTicketReference repository="" revision="54809"
 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, peterwilsoncc.
 Merges [54801] to the 6.1 branch.
 Fixes #56946.
 See #28620.
 }}}

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


More information about the wp-trac mailing list