Ticket #2256: get_posts.diff
File get_posts.diff, 480 bytes (added by , 20 years ago) |
---|
-
classes.php
old new 262 262 do_action('pre_get_posts', array(&$this)); 263 263 264 264 // Shorthand. 265 $q = $this->query_vars;265 $q = &$this->query_vars; 266 266 267 267 // First let's clear some variables 268 268 $whichcat = ''; … … 685 685 $this->post = $this->posts[0]; 686 686 } 687 687 688 // Save any changes made to the query vars.689 $this->query_vars = $q;690 688 return $this->posts; 691 689 } 692 690