From ea0cf44097bc895194d3f023e349ad74760cea41 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 18 Sep 2015 18:53:25 +0000 Subject: [PATCH] Don't use HTML tags in translation strings in `edit-tags.php`. Props ramiy. Fixes #31863. Built from https://develop.svn.wordpress.org/trunk@34303 git-svn-id: http://core.svn.wordpress.org/trunk@34267 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-tags.php | 9 +++++++-- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 2369772c1f..25a31fb97a 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -334,8 +334,13 @@ endif; ?>

Note:
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.' ), apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) ); + echo '' . __( 'Note:' ) . '
'; + 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 */ + '' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) . '' + ); ?>

diff --git a/wp-includes/version.php b/wp-includes/version.php index e94f68185c..685892f949 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34302'; +$wp_version = '4.4-alpha-34303'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.