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
This commit is contained in:
Sergey Biryukov 2017-12-07 13:47:52 +00:00
parent 856e7917e8
commit 0354c3e2f1
2 changed files with 3 additions and 1 deletions

View File

@ -471,6 +471,8 @@ class WP_Comment_Query {
* @since 4.4.0 * @since 4.4.0
* *
* @global wpdb $wpdb WordPress database abstraction object. * @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() { protected function get_comment_ids() {
global $wpdb; global $wpdb;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.