From f5d23b82bd871ceb3dd0a94a41f0991b084a973c Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 18:06:14 +0000 Subject: [PATCH] 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 --- wp-admin/link.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wp-admin/link.php b/wp-admin/link.php index 1b27ce7de7..8b885e4331 100644 --- a/wp-admin/link.php +++ b/wp-admin/link.php @@ -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');