diff --git a/src/wp-includes/class-wp-comment-query.php b/src/wp-includes/class-wp-comment-query.php index 190bc2d764..39b538ce43 100644 --- a/src/wp-includes/class-wp-comment-query.php +++ b/src/wp-includes/class-wp-comment-query.php @@ -361,7 +361,7 @@ class WP_Comment_Query { * * @global wpdb $wpdb WordPress database abstraction object. * - * @return int|array The list of comments. + * @return int|array List of comments or number of found comments if `$count` argument is true. */ public function get_comments() { global $wpdb;