- Timestamp:
- 10/02/2017 10:01:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-recent-comments.php
r41162 r41685 86 86 * 87 87 * @since 3.4.0 88 * @since 4.9.0 Added the `$instance` parameter. 88 89 * 89 90 * @see WP_Comment_Query::query() for information on accepted arguments. 90 91 * 91 92 * @param array $comment_args An array of arguments used to retrieve the recent comments. 93 * @param array $instance Array of settings for the current widget. 92 94 */ 93 95 $comments = get_comments( apply_filters( 'widget_comments_args', array( … … 95 97 'status' => 'approve', 96 98 'post_status' => 'publish' 97 ) ) );99 ), $instance ) ); 98 100 99 101 $output .= $args['before_widget'];
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)