Skip to content

Commit 394e9ac

Browse files
committed
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
1 parent de077ac commit 394e9ac

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/wp-admin/edit-tags.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,13 @@
334334
<div class="form-wrap">
335335
<p>
336336
<?php
337-
/** This filter is documented in wp-includes/category-template.php */
338-
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') ) ) );
337+
echo '<strong>' . __( 'Note:' ) . '</strong><br>';
338+
printf(
339+
/* translators: default category */
340+
__( '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.' ),
341+
/** This filter is documented in wp-includes/category-template.php */
342+
'<strong>' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) . '</strong>'
343+
);
339344
?>
340345
</p>
341346
<?php if ( current_user_can( 'import' ) ) : ?>

0 commit comments

Comments
 (0)