WordPress.org

Make WordPress Core

Changeset 15796


Ignore:
Timestamp:
10/13/2010 04:55:58 PM (8 years ago)
Author:
scribu
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r15793 r15796  
    264264            if ( isset( $this->extra_query_vars[$wpvar] ) )
    265265                $this->query_vars[$wpvar] = $this->extra_query_vars[$wpvar];
    266             elseif ( isset( $GLOBALS[$wpvar] ) )
    267                 $this->query_vars[$wpvar] = $GLOBALS[$wpvar];
    268266            elseif ( isset( $_POST[$wpvar] ) )
    269267                $this->query_vars[$wpvar] = $_POST[$wpvar];
     
    308306            if ( isset($this->extra_query_vars[$var]) )
    309307                $this->query_vars[$var] = $this->extra_query_vars[$var];
    310             elseif ( isset($GLOBALS[$var]) && '' != $GLOBALS[$var] )
    311                 $this->query_vars[$var] = $GLOBALS[$var];
    312308        }
    313309
Note: See TracChangeset for help on using the changeset viewer.