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:
Ryan Boren 2004-10-27 22:07:58 +00:00
parent 01584c9905
commit 5a32ea0adc
1 changed files with 3 additions and 0 deletions

View File

@ -182,6 +182,9 @@ update_category_cache();
// Call query posts to do the work. // Call query posts to do the work.
$posts = query_posts($query_string); $posts = query_posts($query_string);
// Extract updated query vars back into global namespace.
extract($wp_query->query_vars);
if (1 == count($posts)) { if (1 == count($posts)) {
if (is_single()) { if (is_single()) {
$more = 1; $more = 1;