Skip to content

Commit

Permalink
fix: update comment in block rendering function for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Feb 25, 2025
1 parent 47023ba commit 6d4637c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/comment-template/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function block_core_comment_template_render_comments( $comments, $block ) {
$block_instance['blockName'] = 'core/null';

/*
* We construct a new WP_Block instance from the parsed block so that
* We construct a new WP_Block instance from the block instance so that
* it'll receive any changes made by the `render_block_data` filter.
*/
$block_content = ( new WP_Block( $block_instance ) )->render( array( 'dynamic' => false ) );
Expand Down

0 comments on commit 6d4637c

Please sign in to comment.