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/network/sites.php

    r35917 r36302  
    289289<?php endif; ?>
    290290
    291 <?php if ( isset( $_REQUEST['s'] ) && $_REQUEST['s'] ) {
     291<?php
     292if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
     293    /* translators: %s: search keywords */
    292294    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $s ) );
    293295} ?>
Note: See TracChangeset for help on using the changeset viewer.