diff --git a/packages/block-library/src/post-comments-count/index.php b/packages/block-library/src/post-comments-count/index.php index 86430a41d5349..5820529831271 100644 --- a/packages/block-library/src/post-comments-count/index.php +++ b/packages/block-library/src/post-comments-count/index.php @@ -25,7 +25,7 @@ function render_block_core_post_comments_count( $attributes, $content, $block ) $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classes ) ); return sprintf( - '
%2$s
', + '
%2$s
', $wrapper_attributes, get_comments_number( $block->context['postId'] ) );