Administration: Unify search results message on list tables.
This wraps the search string in a `<strong>` tag, which makes easier to parse visually especially when your search string also contains double quotes. Props Mista-Flo, mapk, sergeybiryukov. Fixes #37353. Built from https://develop.svn.wordpress.org/trunk@49284 git-svn-id: http://core.svn.wordpress.org/trunk@49046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -571,7 +571,7 @@ switch ( $wp_list_table->current_action() ) {
|
||||
|
||||
if ( strlen( $usersearch ) ) {
|
||||
/* translators: %s: Search query. */
|
||||
printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $usersearch ) );
|
||||
printf( '<span class="subtitle">' . __( 'Search results for: %s' ) . '</span>', '<strong>' . esc_html( $usersearch ) . '</strong>' );
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user