Use get_query_var() to get cat and name so that we pick up any processing done on them by the query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -524,6 +524,9 @@ class WP_Query {
|
||||
}
|
||||
|
||||
update_post_caches($this->posts);
|
||||
|
||||
// Save any changes made to the query vars.
|
||||
$this->query_vars = $q;
|
||||
return $this->posts;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user