Make WordPress Core


Ignore:
Timestamp:
02/12/2006 08:14:10 AM (21 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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        }
Note: See TracChangeset for help on using the changeset viewer.