Skip to content

Commit

Permalink
Add a missing filter documentation (#44342)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion authored Mar 21, 2023
1 parent e56e53a commit e9d9199
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/comments/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,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 );
Expand Down

1 comment on commit e9d9199

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in e9d9199.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4476678632
📝 Reported issues:

Please sign in to comment.