Make WordPress Core


Ignore:
Timestamp:
10/23/2020 03:59:34 PM (4 years ago)
Author:
helen
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r49241 r49284  
    408408
    409409            /* translators: %s: Plugin search term. */
    410             printf( __( 'No plugins found for &#8220;%s&#8221;.' ), $s );
     410            printf( __( 'No plugins found for: %s.' ), '<strong>' . $s . '</strong>' );
    411411
    412412            // We assume that somebody who can install plugins in multisite is experienced enough to not need this helper link.
Note: See TracChangeset for help on using the changeset viewer.