[wp-trac] [WordPress Trac] #30036: Add some escaping to $handle when printing styles.
WordPress Trac
noreply at wordpress.org
Tue Oct 28 21:36:10 UTC 2025
#30036: Add some escaping to $handle when printing styles.
-----------------------------+-----------------------------
Reporter: georgestephanis | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.9
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"61084" 61084]:
{{{
#!CommitTicketReference repository="" revision="61084"
Script Loader: Consistently escape the style handle in
`WP_Styles::do_item()`.
Includes moving most of the escaping as late as possible when the `<link>`
tag is being constructed.
Follow-up to [29956], [36550], [43564], [46164].
Props georgestephanis, westonruter, azaozz, jonsurrell, XecurAbhijeet,
SergeyBiryukov.
See #30036.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30036#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list