Init query_vars as an array.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-10-23 01:34:00 +00:00
parent 0c12548e12
commit ea9df4eb3f
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;