Ensure adjacency of a duplicate hook comment for a `the_category` filter call.

See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28211 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-04-25 06:42:21 +00:00
parent 3e2904138e
commit 42d24eebc0
1 changed files with 6 additions and 2 deletions

View File

@ -336,8 +336,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; ?>