mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
In wp-admin/link.php
, break
is unreachabled after exit
.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28307 git-svn-id: http://core.svn.wordpress.org/trunk@28135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
213a7de0b7
commit
f5d23b82bd
@ -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