Switch back to GET from REQUEST for these so the non js searches work again. See #14927

git-svn-id: https://develop.svn.wordpress.org/trunk@17307 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2011-01-15 02:03:46 +00:00
parent bea3157e88
commit 59ed14ce74
3 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@ if ( $doaction ) {
wp_redirect( $redirect_to );
exit;
} elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) {
wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), stripslashes( $_SERVER['REQUEST_URI'] ) ) );
exit;
}

View File

@ -30,7 +30,7 @@ if ( $doaction && isset( $_REQUEST['linkcheck'] ) ) {
wp_redirect( add_query_arg('deleted', count( $bulklinks ), admin_url( 'link-manager.php' ) ) );
exit;
}
} elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) {
wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), stripslashes( $_SERVER['REQUEST_URI'] ) ) );
exit;
}

View File

@ -125,7 +125,7 @@ if ( $doaction ) {
$location = $wp_list_table->add_query_args( $location );
wp_redirect( $location );
exit;
} elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) {
wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), stripslashes( $_SERVER['REQUEST_URI'] ) ) );
exit;
}