From 5a32ea0adce3d6abb7a05268e96a3d1f37eb3beb Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 27 Oct 2004 22:07:58 +0000 Subject: [PATCH] Extract updated query vars back into global namespace. git-svn-id: https://develop.svn.wordpress.org/trunk@1834 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-blog-header.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-blog-header.php b/wp-blog-header.php index 117b9c1f64..a965b7b0d1 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -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;