Make WordPress Core


Ignore:
Timestamp:
05/20/2009 04:05:23 PM (15 years ago)
Author:
ryan
Message:

Remove global regs that can poison query objects. fixes #9854

File:
1 edited

Legend:

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

    r11380 r11406  
    415415        }
    416416
    417         $GLOBALS['query_string'] = & $this->query_string;
     417        $GLOBALS['query_string'] = $this->query_string;
    418418        $GLOBALS['posts'] = & $wp_query->posts;
    419         $GLOBALS['post'] = & $wp_query->post;
    420         $GLOBALS['request'] = & $wp_query->request;
     419        $GLOBALS['post'] = $wp_query->post;
     420        $GLOBALS['request'] = $wp_query->request;
    421421
    422422        if ( is_single() || is_page() ) {
Note: See TracChangeset for help on using the changeset viewer.