[wp-trac] [WordPress Trac] #37134: Allow filtering of safecss_filter_attr
WordPress Trac
noreply at wordpress.org
Tue Jun 21 04:16:10 UTC 2016
#37134: Allow filtering of safecss_filter_attr
---------------------------+-----------------------------
Reporter: paulschreiber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
It would be helpful if sites could customize the allowed CSS. This would
work around #24157 (which is 3+ years old).
In kses.php, we could solve this by filtering safecss_filter_attr. Diff
attached.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37134>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list