From 90e6c1bb2fa3b4b9100c67c8f483d18b9e89a885 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 11 May 2009 17:48:24 +0000 Subject: [PATCH] Set REQUEST to contain GET + POST. No cookies. fixes #8814 git-svn-id: http://svn.automattic.com/wordpress/trunk@11268 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-settings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-settings.php b/wp-settings.php index 74198a19a..807703f52 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -47,6 +47,9 @@ wp_unregister_GLOBALS(); unset( $wp_filter, $cache_lastcommentmodified, $cache_lastpostdate ); +// Force REQUEST to be GET + POST. If SERVER, COOKIE, or ENV are needed, use those superglobals directly. +$_REQUEST = array_merge($_GET, $_POST); + /** * The $blog_id global, which you can change in the config allows you to create a simple * multiple blog installation using just one WordPress and changing $blog_id around.