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

WordPress Trac noreply at wordpress.org
Fri Oct 1 08:58:41 UTC 2021


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

Comment (by swissspidy):

 @adamsilverstein Am I missing something or is this
 `safecss_filter_attr_allow_css` filter pretty useless? It does not provide
 the *original* CSS value (`$css_item`), but only the already heavily
 modified `$css_test_string` value.

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


More information about the wp-trac mailing list