[wp-trac] [WordPress Trac] #29826: subtitles added to media are stripped for anyone without unfiltered_html capability

WordPress Trac noreply at wordpress.org
Thu May 21 04:52:48 UTC 2020


#29826: subtitles added to media are stripped for anyone without unfiltered_html
capability
--------------------------+-----------------------------
 Reporter:  jwenerd       |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Media         |     Version:  4.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  commit        |     Focuses:
--------------------------+-----------------------------

Comment (by peterwilsoncc):

 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/29826#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list