Allow searching for 0 throughout the admin.
Fixes #31025. Built from https://develop.svn.wordpress.org/trunk@36302 git-svn-id: http://core.svn.wordpress.org/trunk@36269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -191,7 +191,7 @@ if ( $post_id ) {
|
||||
_e( 'Comments' );
|
||||
}
|
||||
|
||||
if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) {
|
||||
if ( isset($_REQUEST['s']) && strlen( $_REQUEST['s'] ) ) {
|
||||
echo '<span class="subtitle">';
|
||||
/* translators: %s: search keywords */
|
||||
printf( __( 'Search results for “%s”' ),
|
||||
|
||||
Reference in New Issue
Block a user