Remove unreachable `break` statements in `wp-admin/edit-tags.php`. `break` is unnecessary after `die`, `exit`, and `wp_die`.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28291 git-svn-id: http://core.svn.wordpress.org/trunk@28119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d3dd9916d8
commit
d433f8f1ed
|
@ -63,7 +63,6 @@ case 'add-tag':
|
|||
$location = add_query_arg( 'message', 4, $location );
|
||||
wp_redirect( $location );
|
||||
exit;
|
||||
break;
|
||||
|
||||
case 'delete':
|
||||
$location = 'edit-tags.php?taxonomy=' . $taxonomy;
|
||||
|
@ -91,8 +90,6 @@ case 'delete':
|
|||
wp_redirect( $location );
|
||||
exit;
|
||||
|
||||
break;
|
||||
|
||||
case 'bulk-delete':
|
||||
check_admin_referer( 'bulk-tags' );
|
||||
|
||||
|
@ -116,8 +113,6 @@ case 'bulk-delete':
|
|||
wp_redirect( $location );
|
||||
exit;
|
||||
|
||||
break;
|
||||
|
||||
case 'edit':
|
||||
$title = $tax->labels->edit_item;
|
||||
|
||||
|
@ -160,7 +155,6 @@ case 'editedtag':
|
|||
|
||||
wp_redirect( $location );
|
||||
exit;
|
||||
break;
|
||||
|
||||
default:
|
||||
if ( ! empty($_REQUEST['_wp_http_referer']) ) {
|
||||
|
|
Loading…
Reference in New Issue