Make WordPress Core

Changeset 30064


Ignore:
Timestamp:
10/28/2014 07:35:17 PM (12 years ago)
Author:
wonderboymusic
Message:

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

Props jwenerd, wonderboymusic.
Fixes #29826.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/kses.php

    r29740 r30064  
    8989                        'xml:lang' => true,
    9090                ),
     91                'audio' => array(
     92                        'autoplay' => true,
     93                        'controls' => true,
     94                        'loop' => true,
     95                        'muted' => true,
     96                        'preload' => true,
     97                        'src' => true,
     98                ),
    9199                'b' => array(),
    92100                'big' => array(),
    … …  
    120128                        'width' => true,
    121129                ),
    122                 'colgroup' => array(
     130                'colgroup' => array(
    123131                        'align' => true,
    124132                        'char' => true,
    … …  
    373381                        'valign' => true,
    374382                ),
     383                'track' => array(
     384                        'default' => true,
     385                        'kind' => true,
     386                        'label' => true,
     387                        'src' => true,
     388                        'srclang' => true,
     389                ),
    375390                'tt' => array(),
    376391                'u' => array(),
    … …  
    383398                ),
    384399                'var' => array(),
     400                'video' => array(
     401                        'autoplay' => true,
     402                        'controls' => true,
     403                        'height' => true,
     404                        'loop' => true,
     405                        'muted' => true,
     406                        'poster' => true,
     407                        'preload' => true,
     408                        'src' => true,
     409                        'width' => true,
     410                ),
    385411        );
    386412
Note: See TracChangeset for help on using the changeset viewer.