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:
parent
fb3e755b14
commit
ec579f4ec6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue