Add audio, video, and track to $allowedposttags (KSES).

Props jwenerd, wonderboymusic. 
Fixes #29826.


git-svn-id: https://develop.svn.wordpress.org/trunk@30064 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-10-28 19:35:17 +00:00
parent 2285c9195d
commit 159423cef9

View File

@ -88,6 +88,14 @@ if ( ! CUSTOM_TAGS ) {
'lang' => true,
'xml:lang' => true,
),
'audio' => array(
'autoplay' => true,
'controls' => true,
'loop' => true,
'muted' => true,
'preload' => true,
'src' => true,
),
'b' => array(),
'big' => array(),
'blockquote' => array(
@ -119,7 +127,7 @@ if ( ! CUSTOM_TAGS ) {
'valign' => true,
'width' => true,
),
'colgroup' => array(
'colgroup' => array(
'align' => true,
'char' => true,
'charoff' => true,
@ -372,6 +380,13 @@ if ( ! CUSTOM_TAGS ) {
'charoff' => true,
'valign' => true,
),
'track' => array(
'default' => true,
'kind' => true,
'label' => true,
'src' => true,
'srclang' => true,
),
'tt' => array(),
'u' => array(),
'ul' => array(
@ -382,6 +397,17 @@ if ( ! CUSTOM_TAGS ) {
'type' => true,
),
'var' => array(),
'video' => array(
'autoplay' => true,
'controls' => true,
'height' => true,
'loop' => true,
'muted' => true,
'poster' => true,
'preload' => true,
'src' => true,
'width' => true,
),
);
/**