Make WordPress Core


Ignore:
Timestamp:
01/14/2016 08:05:06 PM (8 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/users.php

    r36068 r36302  
    482482<?php }
    483483
    484 if ( $usersearch )
    485     printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( $usersearch ) ); ?>
     484if ( strlen( $usersearch ) ) {
     485    /* translators: %s: search keywords */
     486    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $usersearch ) );
     487}
     488?>
    486489</h1>
    487490
Note: See TracChangeset for help on using the changeset viewer.