From 966477d6f71bf590b2b4c2d0de3844081321cae9 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sat, 15 Jan 2011 03:40:52 +0000 Subject: [PATCH] Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927 git-svn-id: https://develop.svn.wordpress.org/trunk@17309 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 44779f7d2c..23b772ee38 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1527,7 +1527,7 @@ function _draft_or_post_title( $post_id = 0 ) { * */ function _admin_search_query() { - echo isset($_GET['s']) ? esc_attr( stripslashes( $_GET['s'] ) ) : ''; + echo isset($_REQUEST['s']) ? esc_attr( stripslashes( $_REQUEST['s'] ) ) : ''; } /**