From 84c5953cabf4a82cd9337f0dff2789c9e6091247 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 7 Dec 2017 13:46:13 +0000 Subject: [PATCH] Docs: Add missing `@return` entry for `WP_Comment_Query::get_comment_ids()`. Props chetan200891, birgire. Fixes #42795. git-svn-id: https://develop.svn.wordpress.org/trunk@42376 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-comment-query.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/class-wp-comment-query.php b/src/wp-includes/class-wp-comment-query.php index cdbe0d7792..34255953f5 100644 --- a/src/wp-includes/class-wp-comment-query.php +++ b/src/wp-includes/class-wp-comment-query.php @@ -471,6 +471,8 @@ class WP_Comment_Query { * @since 4.4.0 * * @global wpdb $wpdb WordPress database abstraction object. + * + * @return int|array A single count of comment IDs if a count query. An array of comment IDs if a full query. */ protected function get_comment_ids() { global $wpdb;