From 0354c3e2f1491b8b3c28e00be8a8424703eaa414 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 7 Dec 2017 13:47:52 +0000 Subject: [PATCH] Docs: Add missing `@return` entry for `WP_Comment_Query::get_comment_ids()`. Props chetan200891, birgire. Fixes #42795. Built from https://develop.svn.wordpress.org/trunk@42376 git-svn-id: http://core.svn.wordpress.org/trunk@42205 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-comment-query.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php index cdbe0d7792..34255953f5 100644 --- a/wp-includes/class-wp-comment-query.php +++ b/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; diff --git a/wp-includes/version.php b/wp-includes/version.php index 2b2d04722f..ceb57d6bd2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42374'; +$wp_version = '5.0-alpha-42376'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.