Go to first tab instead of + after deleting a menu. see #13338

git-svn-id: https://develop.svn.wordpress.org/trunk@14601 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-05-13 17:22:02 +00:00
parent e628d300b0
commit 4330e2578b

View File

@ -247,6 +247,7 @@ switch ( $action ) {
} else {
$messages[] = '<div id="message" class="updated"><p>' . __('The menu has been successfully deleted.') . '</p></div>';
$nav_menu_selected_id = 0; // Reset the selected menu
unset($_REQUEST['menu']);
}
unset( $delete_nav_menu );
}