summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-20 15:58:03 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-20 15:58:03 +0000
commit12b4276d3ab70d1d369eab76b7bbcb354445a143 (patch)
tree2c8725fbd9c5211c77fd519bcef9e1715411150e /wp-inst/wp-includes/functions.php
parenta3b4ba82f5c11537b1b888fedc7afdbf1a9d020b (diff)
Query vars don't seem to be used in wp-newblog
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@57 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions.php')
-rw-r--r--wp-inst/wp-includes/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php
index 0b18a4c..29148cb 100644
--- a/wp-inst/wp-includes/functions.php
+++ b/wp-inst/wp-includes/functions.php
@@ -1869,7 +1869,8 @@ function load_template($file) {
global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query,
$wp_rewrite, $wpdb;
- extract($wp_query->query_vars);
+ if( is_array( $wp_query->query_vars ) )
+ extract($wp_query->query_vars);
require_once($file);
}