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

WordPress Trac noreply at wordpress.org
Tue Feb 11 15:49:10 UTC 2020


#37134: Allow filtering of safecss_filter_attr
----------------------------+------------------------------
 Reporter:  paulschreiber   |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Formatting      |     Version:  4.6
 Severity:  normal          |  Resolution:
 Keywords:  kses has-patch  |     Focuses:
----------------------------+------------------------------

Comment (by adamsilverstein):

 I'll take a look @paulschreiber - a filter here seems sensible and
 unlikely to introduce backwards compatibility issues.  We already have
 similar filters elsewhere in `kses.php` to enable developer flexibility.

 Does this get you what you need to solve the issue in
 https://core.trac.wordpress.org/ticket/24157? Does that issue really need
 solving with a new regex, or would adding this filter here also solve that
 issue essentially?

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


More information about the wp-trac mailing list