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

Props jwenerd, wonderboymusic. 
Fixes #29826.

Built from https://develop.svn.wordpress.org/trunk@30064


git-svn-id: http://core.svn.wordpress.org/trunk@30064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-10-28 19:36:23 +00:00
parent 118cf8d51d
commit 2ad420dddf
2 changed files with 28 additions and 2 deletions

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,
),
);
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30063';
$wp_version = '4.1-alpha-30064';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.