[wp-trac] [WordPress Trac] #57780: wp_kses: Add filter to css_url_data_types

WordPress Trac noreply at wordpress.org
Mon Mar 20 20:18:37 UTC 2023


#57780: wp_kses: Add filter to css_url_data_types
-------------------------------------------------+-------------------------
 Reporter:  scruffian                            |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-testing-info has-      |     Focuses:
  screenshots gutenberg-merge                    |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 Replying to [comment:6 SergeyBiryukov]:

 > This PR appears to be about specifically using `filter` with a URL:
 > {{{
 > filter: url( my-file.svg#svg-blur );
 > }}}

 Yea, sorry, should have explained better. Was wondering what happens to
 non-image files (SVG, etc.) when loaded from CSS, and if that may need
 more consideration.

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


More information about the wp-trac mailing list