[wp-trac] [WordPress Trac] #45067: Add CSS URL sanitization to kses.

WordPress Trac noreply at wordpress.org
Mon Oct 15 01:38:53 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 has-unit-tests  |     Focuses:
Changes (by pento):

 * keywords:  has-patch has-unit-tests commit => has-patch has-unit-tests


 Let's not change the behaviour of `wp_kses_bad_protocol()`. If an empty
 array is passed in the `$allowed_protocols` parameter, it should continue
 to block everything, rather than defaulting to whatever
 `wp_allowed_protocols()` returns.

Ticket URL: <https://core.trac.wordpress.org/ticket/45067#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list