wordpress-develop/tests/phpunit/tests/menu
Peter Wilson ac84f67ee4 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@54801 602fd350-edb4-49c9-b593-d223f7449a82
2022-11-11 00:04:58 +00:00
..
nav-menu.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
walker-nav-menu-edit.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
walker-nav-menu.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
wp-nav-menu.php Menus: Apply menu-item-has-children class in sub-menus. 2022-11-11 00:04:58 +00:00
wpAjaxMenuQuickSearch.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
wpExpandNavMenuPostData.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00