From e4ca88c1e847158ea5dc2762bc6225f0775e0b6f Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 13 May 2010 17:22:02 +0000 Subject: [PATCH] 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 --- wp-admin/nav-menus.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index cb9efb82d9..31123f6cdf 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -247,6 +247,7 @@ switch ( $action ) { } else { $messages[] = '

' . __('The menu has been successfully deleted.') . '

'; $nav_menu_selected_id = 0; // Reset the selected menu + unset($_REQUEST['menu']); } unset( $delete_nav_menu ); }