WordPress.org

Make WordPress Core

Changeset 10695


Ignore:
Timestamp:
03/04/2009 08:20:32 AM (13 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-admin/users.php

    r10053 r10695  
    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.