WordPress.org

Make WordPress Core

Ticket #14927: 14927.show.search.results.text.patch

File 14927.show.search.results.text.patch, 585 bytes (added by ocean90, 7 years ago)
  • wp-admin/upload.php

     
    163163<div class="wrap">
    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 ( ! empty( $_REQUEST['s'] ) )
    167167        printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', get_search_query() ); ?>
    168168</h2>
    169169