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
This commit is contained in:
parent
8e353f294c
commit
40c45718af
|
@ -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 <a href="#%s">%s</a> added' ), "user-$user_id", $user_object->user_login),
|
||||
'show-link' => sprintf(
|
||||
/* translators: the new user */
|
||||
__( 'User %s added' ),
|
||||
'<a href="#user-' . $user_id . '">' . $user_object->user_login . '</a>'
|
||||
),
|
||||
'role' => $role,
|
||||
)
|
||||
) );
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue