[wp-trac] [WordPress Trac] #60590: Function wp_remove_surrounding_empty_script_tags should use sprintf with placeholder
WordPress Trac
noreply at wordpress.org
Fri Feb 23 05:43:56 UTC 2024
#60590: Function wp_remove_surrounding_empty_script_tags should use sprintf with
placeholder
-------------------------------------------------+-------------------------
Reporter: swissspidy | Owner: kadamwhite
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.6
Component: Script Loader | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch commit | Focuses:
i18n-change |
-------------------------------------------------+-------------------------
Changes (by kadamwhite):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"57699" 57699]:
{{{
#!CommitTicketReference repository="" revision="57699"
Script Loader: Inject wp_remove_surrounding_empty_script_tags function
name in returned error string using sprintf.
The name of this function should not be editable by the translator in the
internationalized return error string.
Props naoki0h, swissspidy, kirasong.
Fixes #60590.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60590#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list