From 40c45718af1f87754619091a6564be0b57e97195 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 18 Sep 2015 18:51:26 +0000 Subject: [PATCH] Don't use HTML tags in translation strings in `wp_ajax_add_user()`. Props ramiy. Fixes #31864. Built from https://develop.svn.wordpress.org/trunk@34302 git-svn-id: http://core.svn.wordpress.org/trunk@34266 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ajax-actions.php | 6 +++++- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index fc8bed3829..c4b9e8b483 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -1308,7 +1308,11 @@ function wp_ajax_add_user( $action ) { 'id' => $user_id, 'data' => $wp_list_table->single_row( $user_object, '', $role ), 'supplemental' => array( - 'show-link' => sprintf(__( 'User %s added' ), "user-$user_id", $user_object->user_login), + 'show-link' => sprintf( + /* translators: the new user */ + __( 'User %s added' ), + '' . $user_object->user_login . '' + ), 'role' => $role, ) ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 002c8dfae7..e94f68185c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34301'; +$wp_version = '4.4-alpha-34302'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.