Don't look in in WP->parse_request(). See #15112

git-svn-id: http://svn.automattic.com/wordpress/trunk@15796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-10-13 16:55:58 +00:00
parent 22643b9464
commit b43424f94e

View File

@ -263,8 +263,6 @@ class WP {
foreach ( $this->public_query_vars as $wpvar ) {
if ( isset( $this->extra_query_vars[$wpvar] ) )
$this->query_vars[$wpvar] = $this->extra_query_vars[$wpvar];
elseif ( isset( $GLOBALS[$wpvar] ) )
$this->query_vars[$wpvar] = $GLOBALS[$wpvar];
elseif ( isset( $_POST[$wpvar] ) )
$this->query_vars[$wpvar] = $_POST[$wpvar];
elseif ( isset( $_GET[$wpvar] ) )
@ -307,8 +305,6 @@ class WP {
foreach ( (array) $this->private_query_vars as $var) {
if ( isset($this->extra_query_vars[$var]) )
$this->query_vars[$var] = $this->extra_query_vars[$var];
elseif ( isset($GLOBALS[$var]) && '' != $GLOBALS[$var] )
$this->query_vars[$var] = $GLOBALS[$var];
}
if ( isset($error) )