Changeset 3519

Show
Ignore:
Timestamp:
02/12/06 08:14:10 (3 years ago)
Author:
ryan
Message:

User ref instead of copying. Props m4ttias. fixes #2256

Files:

Legend:

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

    r3517 r3519  
    269269 
    270270        // Shorthand. 
    271         $q = $this->query_vars; 
     271        $q = &$this->query_vars; 
    272272 
    273273        // First let's clear some variables 
     
    682682        } 
    683683 
    684         // Save any changes made to the query vars. 
    685         $this->query_vars = $q; 
    686684        return $this->posts; 
    687685    }