Improve @return
documentation for WP_Comment_Query::get_comments()
.
Props barryceelen. Fixes #36896. git-svn-id: https://develop.svn.wordpress.org/trunk@37482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e3b09c8ea
commit
f76abb73c9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user