In `WP_Comment_Query`, declare `$query_vars` and `$comments` as properties.
See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30182 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
43d5210cfa
commit
bfa6702145
|
@ -259,6 +259,16 @@ class WP_Comment_Query {
|
|||
*/
|
||||
public $date_query = false;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $query_vars;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $comments;
|
||||
|
||||
/**
|
||||
* Make private/protected methods readable for backwards compatibility.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue