wordpress-develop/tests/phpunit/tests/menu
Peter Wilson c98ca19a20 Menus: Test creating parent after a child doesn't throw an error.
As menus are re-arranged, it's possible a menu item was created prior to its parent.

This introduces a test to ensure the order in which menu items are created relevant to their parents does not trigger errors.

Props costdev, peterwilsoncc.
Fixes #57122.



git-svn-id: https://develop.svn.wordpress.org/trunk@55328 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-14 03:30: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 Privacy: Add rel="privacy-policy" to the Privacy Policy link. 2023-02-07 14:03:26 +00:00
wp-nav-menu.php Menus: Test creating parent after a child doesn't throw an error. 2023-02-14 03:30:58 +00:00
wpAjaxMenuQuickSearch.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
wpExpandNavMenuPostData.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:49:49 +00:00
wpNavMenuRemoveMenuItemHasChildrenClass.php Menus: Account for legacy calls to nav_menu_css_class filter. 2022-12-18 23:59:51 +00:00