]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/edit-tags.php
WordPress 4.0
[autoinstalls/wordpress.git] / wp-admin / edit-tags.php
index 717954c0c0319a41ae18d2a37f36002835fdce22..953f6f430c5dee63897c481002d74796ca6ba216 100644 (file)
@@ -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']) ) {
@@ -336,8 +330,12 @@ endif; ?>
 
 <?php if ( 'category' == $taxonomy ) : ?>
 <div class="form-wrap">
-<?php /** This filter is documented in wp-includes/category-template.php */ ?>
-<p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), apply_filters('the_category', get_cat_name(get_option('default_category')))) ?></p>
+<p>
+       <?php
+       /** This filter is documented in wp-includes/category-template.php */
+       printf( __( '<strong>Note:</strong><br />Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category <strong>%s</strong>.' ), apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) );
+       ?>
+</p>
 <?php if ( current_user_can( 'import' ) ) : ?>
 <p><?php printf(__('Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.'), 'import.php') ?></p>
 <?php endif; ?>