diff --git a/wp-admin/js/nav-menu.js b/wp-admin/js/nav-menu.js index b8dbd40ad6..3501c62c2d 100644 --- a/wp-admin/js/nav-menu.js +++ b/wp-admin/js/nav-menu.js @@ -987,9 +987,9 @@ var menuItemName = $(this).next().text(); var menuItemType = $(this).parent().next('.item-controls').find('.item-type').text(); - var menuItemID = $(this).attr('data-menu-item-id') ; + var menuItemID = $(this).attr('data-menu-item-id'); - var ListedMenuItem = $('#pending-menu-items-to-delete ul').find('[data-menu-item-id=' + menuItemID + ']') ; + var ListedMenuItem = $('#pending-menu-items-to-delete ul').find('[data-menu-item-id=' + menuItemID + ']'); if( ListedMenuItem.length > 0 ){ ListedMenuItem.remove(); } diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index d6f92e1a58..34fd7a81db 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -984,7 +984,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
- + diff --git a/wp-includes/version.php b/wp-includes/version.php index 3defd2fe94..a0e522f89c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51008'; +$wp_version = '5.8-alpha-51009'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.