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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-05-13 17:22:02 +00:00
parent 531feae685
commit e4ca88c1e8
1 changed files with 1 additions and 0 deletions

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 );
}