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

WordPress Trac noreply at wordpress.org
Thu Jun 4 17:59:18 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 adamsilverstein):

 Thanks for the feedback @azaozz... Happy to work on this more.

 I like the suggestion of overriding the check "preemptively". Would this
 be running the existing regex, then passing the result to a filter?

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


More information about the wp-trac mailing list