[wp-trac] [WordPress Trac] #54922: Normalizing CSS also catches CSS IDs instead of only URLs
WordPress Trac
noreply at wordpress.org
Fri Feb 11 22:42:29 UTC 2022
#54922: Normalizing CSS also catches CSS IDs instead of only URLs
-------------------------------------------------+-------------------------
Reporter: mahype | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9.1
Component: Script Loader | Version: 5.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests has- | Focuses:
testing-info commit fixed-major |
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"52714" 52714]:
{{{
#!CommitTicketReference repository="" revision="52714"
Script Loader: Prevent normalizing HTML IDs in
`_wp_normalize_relative_css_links()`.
This change fixes an issue where `_wp_normalize_relative_css_links()` was
not only matching urls, but also HTML IDs.
Follow-up to [52036].
Props mahype, costdev, audrasjb, SergeyBiryukov.
Merges [52695] to the 5.9 branch.
Fixes #54922.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54922#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list