[wp-trac] [WordPress Trac] #64383: wp-includes/js/dist/i18n.js sprintf function breaks on empty string

WordPress Trac noreply at wordpress.org
Tue Dec 9 10:29:58 UTC 2025


#64383: wp-includes/js/dist/i18n.js sprintf function breaks on empty string
--------------------------+--------------------------------
 Reporter:  joepenzo      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  I18N          |     Version:  6.9
 Severity:  normal        |  Resolution:  reported-upstream
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => reported-upstream
 * milestone:  Awaiting Review =>


Comment:

 Hi there and welcome to WordPress Trac

 I think we're discussing this already in
 https://github.com/WordPress/gutenberg/issues/70824

 While the code had a more defensive approach before, it's really the
 plugin doing something wrong by passing `undefined`. Since WooCommerce
 fixed this a long time ago, we suggest updating the plugin.

 There were no other plugins doing it wrong, so there was no need for a
 revert on the WordPress side.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64383#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list