[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 14:46:18 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 ocean90):

 In [changeset:"52754" 52754]:
 {{{
 #!CommitTicketReference repository="" revision="52754"
 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.
 See #54243.
 Fixes #55177.
 }}}

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


More information about the wp-trac mailing list