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

WordPress Trac noreply at wordpress.org
Tue Jun 2 23:44:55 UTC 2020


#37134: Allow filtering of safecss_filter_attr
-------------------------------------------+------------------------------
 Reporter:  paulschreiber                  |       Owner:  adamsilverstein
     Type:  enhancement                    |      Status:  closed
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Formatting                     |     Version:  4.6
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  kses has-patch has-unit-tests  |     Focuses:
-------------------------------------------+------------------------------
Changes (by adamsilverstein):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47891" 47891]:
 {{{
 #!CommitTicketReference repository="" revision="47891"
 Formatting: add a new 'safe_style_disallowed_chars' filter.

 Enable developers to change the regex used in `safecss_filter_attr` to
 limit characters in the parsed CSS.

 Props paulschreiber, swissspidy, rmccue, bartekcholewa, miinasikk.
 Fixes #37134.
 }}}

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


More information about the wp-trac mailing list