[wp-trac] [WordPress Trac] #54243: Inlined block styles that involve external assets (images/fonts) and relative URL's not working as expected
WordPress Trac
noreply at wordpress.org
Thu Feb 17 17:58:25 UTC 2022
#54243: Inlined block styles that involve external assets (images/fonts) and
relative URL's not working as expected
----------------------------------------+------------------------------
Reporter: cdyerkes | Owner: gziolo
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9
Component: Editor | Version: 5.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-testing-info | Focuses: javascript, css
----------------------------------------+------------------------------
Comment (by hellofromTonya):
In [changeset:"52762" 52762]:
{{{
#!CommitTicketReference repository="" revision="52762"
Script Loader: Prevent normalizing data URIs in
`_wp_normalize_relative_css_links()`.
This prevents making data URIs as in `mask-
image:url('data:image/svg+xml;utf8,<svg...` relative to the WordPress
installation.
Props staatic.
Merges [52754] to the 5.9 branch.
See #54243.
Fixes #55177.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54243#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list