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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-03-04 08:16:53 +00:00
parent 303d892aa8
commit 53c53c0bc8
1 changed files with 2 additions and 2 deletions

View File

@ -240,8 +240,8 @@ if ( ! empty($messages) ) {
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo wp_specialchars( $title );
if ( isset($_GET['s']) && $_GET['s'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( get_search_query() ) ); ?>
if ( isset($_GET['usersearch']) && $_GET['usersearch'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( $_GET['usersearch'] ) ); ?>
</h2>
<div class="filter">