[wp-trac] [WordPress Trac] #57919: sprint() needs more than 1 arguments
WordPress Trac
noreply at wordpress.org
Tue Mar 14 09:37:30 UTC 2023
#57919: sprint() needs more than 1 arguments
--------------------------+--------------------
Reporter: aristath | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+--------------------
This is a backport of https://github.com/WordPress/gutenberg/pull/49054,
reported in https://github.com/WordPress/gutenberg/issues/49000
In `src/wp-includes/blocks/comment-template.php` we have `$block_content
.= sprintf( $inner_content );` which will throw a PHP error because
`sprintf()` expects at least 2 arguments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57919>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list