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: https://develop.svn.wordpress.org/trunk@1629 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-09-09 03:45:51 +00:00
parent 51304d6478
commit bce7d33025
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;
}