mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Ensure adjacency of a duplicate hook comment for a the_category
filter call.
See #26869. Built from https://develop.svn.wordpress.org/trunk@28211 git-svn-id: http://core.svn.wordpress.org/trunk@28041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
73c851c227
commit
a866838b31
@ -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; ?>
|
||||
|
Loading…
Reference in New Issue
Block a user