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
This commit is contained in:
Peter Westwood 2011-01-15 03:40:52 +00:00
parent ac32c2b55b
commit 966477d6f7
1 changed files with 1 additions and 1 deletions

View File

@ -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'] ) ) : '';
}
/**