From 891e588a546e614f56d28bda462d385751761b5b Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Wed, 4 Mar 2009 08:16:53 +0000 Subject: [PATCH] Display the search query when searching users. Fixes #9265 for trunk props johnbillion. git-svn-id: https://develop.svn.wordpress.org/trunk@10694 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/users.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/users.php b/wp-admin/users.php index 44a736f4e4..d107fb0f92 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -240,8 +240,8 @@ if ( ! empty($messages) ) {

' . __('Search results for “%s”') . '', wp_specialchars( get_search_query() ) ); ?> +if ( isset($_GET['usersearch']) && $_GET['usersearch'] ) + printf( '' . __('Search results for “%s”') . '', wp_specialchars( $_GET['usersearch'] ) ); ?>