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:
parent
e628d300b0
commit
4330e2578b
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user