Switch to REQUEST so the search always shows up when no-js not just when you have an old GET request in the url too. Fixes #14927 props ocean90

git-svn-id: http://svn.automattic.com/wordpress/trunk@17311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2011-01-15 16:09:34 +00:00
parent 49887cdd9a
commit e13ae352eb
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ require_once('./admin-header.php');
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> <?php
if ( isset($_GET['s']) && $_GET['s'] )
if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', get_search_query() ); ?>
</h2>