From 7548aa86ba7e0685d60aeeba26b6773de661ae7f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 28 Oct 2019 15:15:51 +0000 Subject: [PATCH] Docs: Restore correct placement for duplicate hook reference in `render_block_core_latest_comments()`. Previously fixed in [46604], accidentally reverted in [46606]. See #48447, #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46607 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/blocks/latest-comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/blocks/latest-comments.php b/src/wp-includes/blocks/latest-comments.php index d68e89a152..3cade8f2a9 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(