Make WordPress Core


Ignore:
Timestamp:
05/18/2009 06:00:47 PM (15 years ago)
Author:
ryan
Message:

Unset from GLOBALS. see #9854

File:
1 edited

Legend:

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

    r11382 r11386  
    23822382     */
    23832383    function the_post() {
     2384        unset($GLOBALS['post']); // Break the ref
    23842385        global $post;
    23852386        $this->in_the_loop = true;
    2386         unset($post); // Break the ref
    23872387        $post = $this->next_post();
    23882388        setup_postdata($post);
Note: See TracChangeset for help on using the changeset viewer.