Extract updated query vars back into global namespace.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-10-27 22:07:58 +00:00
parent fb3e755b14
commit ec579f4ec6
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;