Skip to content

Commit

Permalink
sprintf requires more than 1 params (#49054)
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath authored and Mamaduka committed Mar 14, 2023
1 parent 7e50c76 commit 784081e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/block-library/src/comment-template/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ function block_core_comment_template_render_comments( $comments, $block ) {
$block_content .= sprintf( '<ol>%1$s</ol>', $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 );
}
}

Expand Down

0 comments on commit 784081e

Please sign in to comment.