mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
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:
parent
22643b9464
commit
b43424f94e
@ -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) )
|
||||
|
Loading…
Reference in New Issue
Block a user