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:
parent
531feae685
commit
e4ca88c1e8
wp-admin
|
@ -247,6 +247,7 @@ switch ( $action ) {
|
||||||
} else {
|
} else {
|
||||||
$messages[] = '<div id="message" class="updated"><p>' . __('The menu has been successfully deleted.') . '</p></div>';
|
$messages[] = '<div id="message" class="updated"><p>' . __('The menu has been successfully deleted.') . '</p></div>';
|
||||||
$nav_menu_selected_id = 0; // Reset the selected menu
|
$nav_menu_selected_id = 0; // Reset the selected menu
|
||||||
|
unset($_REQUEST['menu']);
|
||||||
}
|
}
|
||||||
unset( $delete_nav_menu );
|
unset( $delete_nav_menu );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue