WordPress.org

Make WordPress Core

Changeset 11382


Ignore:
Timestamp:
05/18/09 15:56:39 (5 years ago)
Author:
ryan
Message:

Break global post ref so we don't pollute queries. see #9854

File:
1 edited

Legend:

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

    r11348 r11382  
    23842384        global $post; 
    23852385        $this->in_the_loop = true; 
     2386        unset($post); // Break the ref 
    23862387        $post = $this->next_post(); 
    23872388        setup_postdata($post); 
Note: See TracChangeset for help on using the changeset viewer.