[wp-trac] [WordPress Trac] #43215: Allow wp_kses to pass allowed CSS properties
WordPress Trac
noreply at wordpress.org
Sat Nov 8 18:11:01 UTC 2025
#43215: Allow wp_kses to pass allowed CSS properties
-----------------------------+------------------------------
Reporter: mclaurent | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Security | Version: 4.9.2
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by sarapalmer2352):
Alternatively, in this same example if we removed our filter (with
remove_filter) right after our wp_kses call, it would mean that our
attribute whitelist would apply to all HTML attributes (display,
visibility,...) and not only the one we would want to whitelist (style).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43215#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list