[wp-trac] [WordPress Trac] #50167: Relax kses rules to allow setting playsinline attributes in Video elements.
WordPress Trac
noreply at wordpress.org
Thu May 21 04:52:48 UTC 2020
#50167: Relax kses rules to allow setting playsinline attributes in Video elements.
--------------------------------------+----------------------------
Reporter: youknowriad | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Formatting | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+----------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"47837" 47837]:
{{{
#!CommitTicketReference repository="" revision="47837"
KSES: Support the `video` element's `playsinline` attribute.
Allow users without the `unfiltered_html` capability to use the
`playsinline` attribute when embedding videos.
Additionally this adds unit tests for passing the video element through
kses.
Fixes #50167. See #29826.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50167#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list