[wp-trac] [WordPress Trac] #45067: Add CSS URL sanitization to kses.
WordPress Trac
noreply at wordpress.org
Tue Oct 9 04:13:41 UTC 2018
#45067: Add CSS URL sanitization to kses.
----------------------------------------+---------------------
Reporter: peterwilsoncc | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+---------------------
Changes (by peterwilsoncc):
* keywords: needs-patch => has-patch needs-unit-tests
Comment:
In [attachment:"45067.diff"]:
* Parses URLs in `style` attribute following @pento's
[https://github.com/WordPress/gutenberg/issues/2539#issuecomment-427717063
comment on the related gutenberg ticket]
* Adds `background-image` as whitelisted CSS for inline styles
* Needs unit tests, several of them
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45067#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list