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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user