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.


Built from https://develop.svn.wordpress.org/trunk@55328


git-svn-id: http://core.svn.wordpress.org/trunk@54861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2023-02-14 03:32:19 +00:00
parent fe9d343775
commit afe51338ac

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-beta1-55327';
$wp_version = '6.2-beta1-55328';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.