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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user