From e79d2a1badad7f8e7ae4690fb2ee73c282e633ef Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Sun, 22 May 2016 16:21:27 +0000 Subject: [PATCH] Improve `@return` documentation for `WP_Comment_Query::get_comments()`. Props barryceelen. Fixes #36896. Built from https://develop.svn.wordpress.org/trunk@37482 git-svn-id: http://core.svn.wordpress.org/trunk@37450 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-comment-query.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php index 190bc2d764..39b538ce43 100644 --- a/wp-includes/class-wp-comment-query.php +++ b/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; diff --git a/wp-includes/version.php b/wp-includes/version.php index cba97a824c..2346a99301 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37481'; +$wp_version = '4.6-alpha-37482'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.