[wp-trac] [WordPress Trac] #29807: add support for picture element and srcset attribute on img in wp_kses
WordPress Trac
noreply at wordpress.org
Thu Jun 15 12:43:00 UTC 2017
#29807: add support for picture element and srcset attribute on img in wp_kses
-------------------------------------------------+-------------------------
Reporter: mattheu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Formatting | Release
Severity: normal | Version:
Keywords: has-patch has-unit-tests needs- | Resolution:
refresh | Focuses:
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests needs-
refresh
Comment:
The combined patch misses the changes required for processing URLs in
srcset correctly. In [attachment:29807.6.diff] I've modified added some
tests for comma separated srcset values and the tests begin failing.
The refactor of `wp_kses_hair()` remains a gift for someone suitably
enthusiastic.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29807#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list