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:
Helen Hou-Sandí
2020-10-23 16:01:15 +00:00
parent 4847fb4263
commit e0c12cc818
14 changed files with 16 additions and 16 deletions

View File

@@ -571,7 +571,7 @@ switch ( $wp_list_table->current_action() ) {
if ( strlen( $usersearch ) ) {
/* translators: %s: Search query. */
printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $usersearch ) );
printf( '<span class="subtitle">' . __( 'Search results for: %s' ) . '</span>', '<strong>' . esc_html( $usersearch ) . '</strong>' );
}
?>