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 Mar 14, 2023
1 parent 420013b commit 93a6791
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

1 comment on commit 93a6791

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 93a6791.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4414507871
📝 Reported issues:

Please sign in to comment.