From bfa6702145763ac45abc0c4c13ae8d19cc245e29 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 3 Nov 2014 03:07:42 +0000 Subject: [PATCH] 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 --- src/wp-includes/comment.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index a81755d8c9..321529af40 100644 --- a/src/wp-includes/comment.php +++ b/src/wp-includes/comment.php @@ -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. *