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
This commit is contained in:
parent
4428a031a3
commit
e79d2a1bad
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue