mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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