mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
In wp-admin/link.php, break is unreachabled after exit.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28307 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e1f5876ac4
commit
81acc42361
@ -46,7 +46,6 @@ switch ($action) {
|
||||
|
||||
wp_redirect("$this_file?deleted=$deleted");
|
||||
exit;
|
||||
break;
|
||||
|
||||
case 'move' :
|
||||
check_admin_referer('bulk-bookmarks');
|
||||
@ -62,7 +61,6 @@ switch ($action) {
|
||||
|
||||
wp_redirect($this_file);
|
||||
exit;
|
||||
break;
|
||||
|
||||
case 'add' :
|
||||
check_admin_referer('add-bookmark');
|
||||
@ -73,7 +71,6 @@ switch ($action) {
|
||||
|
||||
wp_redirect( $redir );
|
||||
exit;
|
||||
break;
|
||||
|
||||
case 'save' :
|
||||
$link_id = (int) $_POST['link_id'];
|
||||
@ -83,7 +80,6 @@ switch ($action) {
|
||||
|
||||
wp_redirect($this_file);
|
||||
exit;
|
||||
break;
|
||||
|
||||
case 'delete' :
|
||||
$link_id = (int) $_GET['link_id'];
|
||||
@ -93,7 +89,6 @@ switch ($action) {
|
||||
|
||||
wp_redirect($this_file);
|
||||
exit;
|
||||
break;
|
||||
|
||||
case 'edit' :
|
||||
wp_enqueue_script('link');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user