[wp-trac] [WordPress Trac] #37134: Allow filtering of safecss_filter_attr

WordPress Trac noreply at wordpress.org
Wed Jun 17 01:13:26 UTC 2020


#37134: Allow filtering of safecss_filter_attr
-------------------------------------------------+-------------------------
 Reporter:  paulschreiber                        |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.5
Component:  Formatting                           |     Version:  4.6
 Severity:  normal                               |  Resolution:
 Keywords:  kses has-patch has-unit-tests        |     Focuses:
  needs-dev-note                                 |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 In 37134.10.diff: do not run the (new) `safecss_filter_attr_allow_css`
 filter when a CSS string was not "found".

 This looks good here. @adamsilverstein could you have a look too, and lets
 add it :)

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


More information about the wp-trac mailing list