Init query_vars as an array.

git-svn-id: https://develop.svn.wordpress.org/trunk@4414 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-10-23 01:34:00 +00:00
parent 0e51961694
commit 7414172018
1 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,7 @@ function the_post() {
class WP_Query {
var $query;
var $query_vars;
var $query_vars = array();
var $queried_object;
var $queried_object_id;
var $request;
@ -315,7 +315,7 @@ class WP_Query {
function init () {
unset($this->posts);
unset($this->query);
unset($this->query_vars);
$this->query_vars = array();
unset($this->queried_object);
unset($this->queried_object_id);
$this->post_count = 0;