Extract updated query vars back into global namespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@1834 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
01584c9905
commit
5a32ea0adc
@ -182,6 +182,9 @@ update_category_cache();
|
||||
// Call query posts to do the work.
|
||||
$posts = query_posts($query_string);
|
||||
|
||||
// Extract updated query vars back into global namespace.
|
||||
extract($wp_query->query_vars);
|
||||
|
||||
if (1 == count($posts)) {
|
||||
if (is_single()) {
|
||||
$more = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user