mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: Correct invalid hook docblock placement.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -88,18 +88,18 @@ class WP_Widget_Recent_Comments extends WP_Widget {
|
||||
$number = 5;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the arguments for the Recent Comments widget.
|
||||
*
|
||||
* @since 3.4.0
|
||||
* @since 4.9.0 Added the `$instance` parameter.
|
||||
*
|
||||
* @see WP_Comment_Query::query() for information on accepted arguments.
|
||||
*
|
||||
* @param array $comment_args An array of arguments used to retrieve the recent comments.
|
||||
* @param array $instance Array of settings for the current widget.
|
||||
*/
|
||||
$comments = get_comments(
|
||||
/**
|
||||
* Filters the arguments for the Recent Comments widget.
|
||||
*
|
||||
* @since 3.4.0
|
||||
* @since 4.9.0 Added the `$instance` parameter.
|
||||
*
|
||||
* @see WP_Comment_Query::query() for information on accepted arguments.
|
||||
*
|
||||
* @param array $comment_args An array of arguments used to retrieve the recent comments.
|
||||
* @param array $instance Array of settings for the current widget.
|
||||
*/
|
||||
apply_filters(
|
||||
'widget_comments_args',
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user