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:
rboren
2004-09-09 03:45:51 +00:00
parent 59b3f55883
commit b036c6d58d
2 changed files with 13 additions and 3 deletions

View File

@@ -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;
}