Menus: Remove unused commented out code in wp-admin/nav-menus.php
.
Props garrett-eclipse, audrasjb. Fixes #49967. git-svn-id: https://develop.svn.wordpress.org/trunk@47605 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2e126bda26
commit
60b23a5cd0
@ -352,7 +352,6 @@ switch ( $action ) {
|
||||
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 ) );
|
||||
exit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user