WordPress.org

Make WordPress Core

Changeset 17311


Ignore:
Timestamp:
01/15/2011 04:09:34 PM (11 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r17307 r17311  
    164164<?php screen_icon(); ?>
    165165<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
    166 if ( isset($_GET['s']) && $_GET['s'] )
     166if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
    167167    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', get_search_query() ); ?>
    168168</h2>
Note: See TracChangeset for help on using the changeset viewer.