Menus: Remove unused commented out code in `wp-admin/nav-menus.php`.

Props garrett-eclipse, audrasjb.
Fixes #49967.
Built from https://develop.svn.wordpress.org/trunk@47605


git-svn-id: http://core.svn.wordpress.org/trunk@47380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-04-21 09:02:08 +00:00
parent 589666abc3
commit b4373fafe9
2 changed files with 1 additions and 2 deletions

View File

@ -352,7 +352,6 @@ switch ( $action ) {
set_theme_mod( 'nav_menu_locations', $menu_locations ); set_theme_mod( 'nav_menu_locations', $menu_locations );
} }
// $messages[] = '<div id="message" class="updated"><p>' . sprintf( __( '<strong>%s</strong> has been created.' ), $nav_menu_selected_title ) . '</p></div>';
wp_redirect( admin_url( 'nav-menus.php?menu=' . $_nav_menu_selected_id ) ); wp_redirect( admin_url( 'nav-menus.php?menu=' . $_nav_menu_selected_id ) );
exit(); exit();
} }

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5-alpha-47604'; $wp_version = '5.5-alpha-47605';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.