Make WordPress Core

Changeset 4414


Ignore:
Timestamp:
10/23/2006 01:34:00 AM (17 years ago)
Author:
ryan
Message:

Init query_vars as an array.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r4205 r4414  
    255255class WP_Query {
    256256    var $query;
    257     var $query_vars;
     257    var $query_vars = array();
    258258    var $queried_object;
    259259    var $queried_object_id;
     
    316316        unset($this->posts);
    317317        unset($this->query);
    318         unset($this->query_vars);
     318        $this->query_vars = array();
    319319        unset($this->queried_object);
    320320        unset($this->queried_object_id);
Note: See TracChangeset for help on using the changeset viewer.