From f76abb73c98c78f86124f51c2f71575066e43321 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Sun, 22 May 2016 16:20:48 +0000 Subject: [PATCH] Improve `@return` documentation for `WP_Comment_Query::get_comments()`. Props barryceelen. Fixes #36896. git-svn-id: https://develop.svn.wordpress.org/trunk@37482 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-comment-query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;