From 956f95ce1d467150a7c6909d5865a415b0ed05e0 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 21 Sep 2022 21:52:00 +0100 Subject: [PATCH] Add a missing filter documentation --- packages/block-library/src/comments/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/comments/index.php b/packages/block-library/src/comments/index.php index 69044c081c74e..f26c43501a2e9 100644 --- a/packages/block-library/src/comments/index.php +++ b/packages/block-library/src/comments/index.php @@ -213,6 +213,7 @@ function register_legacy_post_comments_block() { * like `_wp_multiple_block_styles`, which is required in this case because * the block has multiple styles. */ + /** This filter is documented in wp-includes/blocks.php */ $metadata = apply_filters( 'block_type_metadata', $metadata ); register_block_type( 'core/post-comments', $metadata );