Initialize $post_type_query_vars to avoid is_array() warning. see #12923
git-svn-id: http://svn.automattic.com/wordpress/trunk@12925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
44e511516d
commit
3e0f3f54d6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue