mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user