Comments: Remove the assignment of an undocumented `$comment_count` property in `WP_Comment_Query::get_comments()`, which appears to be accidentally introduced in [34544].

Props flixos90.
Fixes #37187.

git-svn-id: https://develop.svn.wordpress.org/trunk@37873 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-06-26 14:27:49 +00:00
parent 9b536c37d4
commit b28ca0f4b8
1 changed files with 0 additions and 2 deletions

View File

@ -410,8 +410,6 @@ class WP_Comment_Query {
$comment_ids = array_map( 'intval', $comment_ids );
$this->comment_count = count( $this->comments );
if ( $comment_ids && $this->query_vars['number'] && ! $this->query_vars['no_found_rows'] ) {
/**
* Filters the query used to retrieve found comment count.