Set REQUEST to contain GET + POST. No cookies. fixes #8814
git-svn-id: https://develop.svn.wordpress.org/trunk@11268 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8dc7b9a30f
commit
5fca0502fa
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user