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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2011-01-15 02:03:46 +00:00
parent 477b1c3056
commit eb9c28f45a
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;
}