$location = add_query_arg( 'message', 4, $location );
wp_redirect( $location );
exit;
-break;
case 'delete':
$location = 'edit-tags.php?taxonomy=' . $taxonomy;
wp_redirect( $location );
exit;
-break;
-
case 'bulk-delete':
check_admin_referer( 'bulk-tags' );
wp_redirect( $location );
exit;
-break;
-
case 'edit':
$title = $tax->labels->edit_item;
wp_redirect( $location );
exit;
-break;
default:
if ( ! empty($_REQUEST['_wp_http_referer']) ) {
<?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; ?>