From 93a679182efd6244b3656e5a854582333151d358 Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Tue, 14 Mar 2023 12:06:49 +0200 Subject: [PATCH] sprintf requires more than 1 params (#49054) --- packages/block-library/src/comment-template/index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/block-library/src/comment-template/index.php b/packages/block-library/src/comment-template/index.php index 08620a3ea695fd..45fd993adbdeba 100644 --- a/packages/block-library/src/comment-template/index.php +++ b/packages/block-library/src/comment-template/index.php @@ -58,11 +58,10 @@ function block_core_comment_template_render_comments( $comments, $block ) { $block_content .= sprintf( '
    %1$s
', $inner_content ); --$comment_depth; } else { - $inner_content = block_core_comment_template_render_comments( + $block_content .= block_core_comment_template_render_comments( $children, $block ); - $block_content .= sprintf( $inner_content ); } }