Ticket #15112: 15112.diff
| File 15112.diff, 922 bytes (added by , 16 years ago) |
|---|
-
wp-includes/classes.php
263 263 foreach ( $this->public_query_vars as $wpvar ) { 264 264 if ( isset( $this->extra_query_vars[$wpvar] ) ) 265 265 $this->query_vars[$wpvar] = $this->extra_query_vars[$wpvar]; 266 elseif ( isset( $GLOBALS[$wpvar] ) )267 $this->query_vars[$wpvar] = $GLOBALS[$wpvar];268 266 elseif ( isset( $_POST[$wpvar] ) ) 269 267 $this->query_vars[$wpvar] = $_POST[$wpvar]; 270 268 elseif ( isset( $_GET[$wpvar] ) ) … … 307 305 foreach ( (array) $this->private_query_vars as $var) { 308 306 if ( isset($this->extra_query_vars[$var]) ) 309 307 $this->query_vars[$var] = $this->extra_query_vars[$var]; 310 elseif ( isset($GLOBALS[$var]) && '' != $GLOBALS[$var] )311 $this->query_vars[$var] = $GLOBALS[$var];312 308 } 313 309 314 310 if ( isset($error) )
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)