mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
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:
parent
0e51961694
commit
7414172018
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user