Don't use HTML tags in translation strings in `edit-tags.php`.

Props ramiy.
Fixes #31863.


git-svn-id: https://develop.svn.wordpress.org/trunk@34303 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-09-18 18:52:48 +00:00
parent de077ac377
commit 394e9ac21a
1 changed files with 7 additions and 2 deletions

View File

@ -334,8 +334,13 @@ endif; ?>
<div class="form-wrap">
<p>
<?php
echo '<strong>' . __( 'Note:' ) . '</strong><br>';
printf(
/* translators: default category */
__( '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 %s.' ),
/** 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') ) ) );
'<strong>' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) . '</strong>'
);
?>
</p>
<?php if ( current_user_can( 'import' ) ) : ?>