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;