From 845df4462a4a48af187f7acb957ab38fec15dc23 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Tue, 2 Feb 2010 03:18:27 +0000 Subject: [PATCH] Initialize $post_type_query_vars to avoid is_array() warning. see #12923 git-svn-id: https://develop.svn.wordpress.org/trunk@12925 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/classes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index f804cebaa6..43d38734da 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -133,6 +133,7 @@ class WP { $this->query_vars = array(); $taxonomy_query_vars = array(); + $post_type_query_vars = array(); if ( is_array($extra_query_vars) ) $this->extra_query_vars = & $extra_query_vars;