Cross-reference WP_Comment_Query::query() as the location for finding information on default arguments for WP_Comment_Query.

Also updates the return types on `get_comments()` and `get_approved_comments()`, as an integer can also be returned if the `$count` argument is true.

Fixes #30111.


git-svn-id: https://develop.svn.wordpress.org/trunk@30281 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture)
2014-11-08 20:35:00 +00:00
parent 9df38af4f7
commit 136b853399
2 changed files with 9 additions and 8 deletions

View File

@@ -849,7 +849,7 @@ class WP_Widget_Recent_Comments extends WP_Widget {
*
* @since 3.4.0
*
* @see get_comments()
* @see WP_Comment_Query::query() for information on accepted arguments.
*
* @param array $comment_args An array of arguments used to retrieve the recent comments.
*/