Make WordPress Core

Changeset 10694


Ignore:
Timestamp:
03/04/2009 08:16:53 AM (15 years ago)
Author:
westi
Message:

Display the search query when searching users. Fixes #9265 for trunk props johnbillion.

File:
1 edited

Legend:

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

    r10606 r10694  
    241241<?php screen_icon(); ?>
    242242<h2><?php echo wp_specialchars( $title );
    243 if ( isset($_GET['s']) && $_GET['s'] )
    244     printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( get_search_query() ) ); ?>
     243if ( isset($_GET['usersearch']) && $_GET['usersearch'] )
     244    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( $_GET['usersearch'] ) ); ?>
    245245</h2>
    246246
Note: See TracChangeset for help on using the changeset viewer.