Skip to content

Commit

Permalink
Revert "sprintf requires more than 1 params (#49054)"
Browse files Browse the repository at this point in the history
This reverts commit 784081e.
  • Loading branch information
Mamaduka committed Mar 14, 2023
1 parent f22a3cb commit 4486a6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/block-library/src/comment-template/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ function block_core_comment_template_render_comments( $comments, $block ) {
$block_content .= sprintf( '<ol>%1$s</ol>', $inner_content );
--$comment_depth;
} else {
$block_content .= block_core_comment_template_render_comments(
$inner_content = block_core_comment_template_render_comments(
$children,
$block
);
$block_content .= sprintf( $inner_content );
}
}

Expand Down

1 comment on commit 4486a6b

@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 4486a6b.
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/4416445332
📝 Reported issues:

Please sign in to comment.