[wp-trac] [WordPress Trac] #37134: Allow filtering of safecss_filter_attr
WordPress Trac
noreply at wordpress.org
Fri Jun 5 22:27:54 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 azaozz):
In 37134.9.diff:
- Based on 37134.8.diff.
- Reverse the filter, true to allow, false to discard the css.
- Tweak the filter and var names to (hopefully) make them more self-
explanatory.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37134#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list