mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@49284 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -407,7 +407,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
$s = esc_html( wp_unslash( $_REQUEST['s'] ) );
|
||||
|
||||
/* translators: %s: Plugin search term. */
|
||||
printf( __( 'No plugins found for “%s”.' ), $s );
|
||||
printf( __( 'No plugins found for: %s.' ), '<strong>' . $s . '</strong>' );
|
||||
|
||||
// We assume that somebody who can install plugins in multisite is experienced enough to not need this helper link.
|
||||
if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) {
|
||||
|
||||
Reference in New Issue
Block a user