diff --git a/src/wp-includes/blocks/latest-comments.php b/src/wp-includes/blocks/latest-comments.php index d68e89a152..cc0c234ec4 100644 --- a/src/wp-includes/blocks/latest-comments.php +++ b/src/wp-includes/blocks/latest-comments.php @@ -41,8 +41,8 @@ function wp_latest_comments_draft_or_post_title( $post = 0 ) { * @return string Returns the post content with latest comments added. */ function render_block_core_latest_comments( $attributes = array() ) { - // This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php. $comments = get_comments( + // This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php. apply_filters( 'widget_comments_args', array( diff --git a/src/wp-includes/widgets/class-wp-widget-archives.php b/src/wp-includes/widgets/class-wp-widget-archives.php index 4cf0db82c9..4767f673f4 100644 --- a/src/wp-includes/widgets/class-wp-widget-archives.php +++ b/src/wp-includes/widgets/class-wp-widget-archives.php @@ -124,18 +124,18 @@ class WP_Widget_Archives extends WP_Widget {