Make WordPress Core


Ignore:
Timestamp:
01/14/2016 08:05:06 PM (9 years ago)
Author:
swissspidy
Message:

Allow searching for 0 throughout the admin.

Fixes #31025.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/users.php

    r34891 r36302  
    213213    endif;
    214214
    215     if ( !empty( $usersearch ) )
    216     printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $usersearch ) );
     215    if ( strlen( $usersearch ) ) {
     216        /* translators: %s: search keywords */
     217        printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $usersearch ) );
     218    }
    217219    ?>
    218220    </h1>
Note: See TracChangeset for help on using the changeset viewer.