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

WordPress Trac noreply at wordpress.org
Tue Jun 21 08:50:59 UTC 2016


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

Comment (by rmccue):

 This seems already possible via the `safe_style_css` filter, which
 controls the allowed properties in the CSS. It would potentially be nice
 to have more granular control though, allowing only specific values for
 fields e.g.

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


More information about the wp-trac mailing list