mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user