diff --git a/packages/block-library/src/post-comments/index.php b/packages/block-library/src/post-comments/index.php index 8ddb0e6f74565f..2b20a9494eef3e 100644 --- a/packages/block-library/src/post-comments/index.php +++ b/packages/block-library/src/post-comments/index.php @@ -51,6 +51,8 @@ function render_block_core_post_comments( $attributes, $content, $block ) { $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classes ) ); $output = ob_get_clean(); + wp_enqueue_script( 'comment-reply' ); + return sprintf( '
%2$s
', $wrapper_attributes, $output ); }