Don't use HTML tags in translation strings in wp_ajax_add_user()
.
Props ramiy. Fixes #31864. git-svn-id: https://develop.svn.wordpress.org/trunk@34302 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5cfdae8b2b
commit
de077ac377
@ -1308,7 +1308,11 @@ function wp_ajax_add_user( $action ) {
|
|||||||
'id' => $user_id,
|
'id' => $user_id,
|
||||||
'data' => $wp_list_table->single_row( $user_object, '', $role ),
|
'data' => $wp_list_table->single_row( $user_object, '', $role ),
|
||||||
'supplemental' => array(
|
'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,
|
'role' => $role,
|
||||||
)
|
)
|
||||||
) );
|
) );
|
||||||
|
Loading…
Reference in New Issue
Block a user