mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Allow searching for 0 throughout the admin.
Fixes #31025. git-svn-id: https://develop.svn.wordpress.org/trunk@36302 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -220,8 +220,11 @@ echo esc_html( $title );
|
||||
if ( current_user_can( 'upload_files' ) ) { ?>
|
||||
<a href="media-new.php" class="page-title-action"><?php echo esc_html_x('Add New', 'file'); ?></a><?php
|
||||
}
|
||||
if ( ! empty( $_REQUEST['s'] ) )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() ); ?>
|
||||
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
|
||||
/* translators: %s: search keywords */
|
||||
printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', get_search_query() );
|
||||
}
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user