* Add span to the list of allowed tags in plugin sections in plugin details modal.

* Don't strip class attribute from div/span tags in plugin sections.

props tellyworth.
see #28884.
Built from https://develop.svn.wordpress.org/trunk@29511


git-svn-id: http://core.svn.wordpress.org/trunk@29288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-08-16 03:07:18 +00:00
parent 00aaf8de18
commit c17155f9d7

View File

@ -337,7 +337,8 @@ function install_plugin_information() {
'a' => array( 'href' => array(), 'title' => array(), 'target' => array() ),
'abbr' => array( 'title' => array() ), 'acronym' => array( 'title' => array() ),
'code' => array(), 'pre' => array(), 'em' => array(), 'strong' => array(),
'div' => array(), 'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(),
'div' => array( 'class' => array() ), 'span' => array( 'class' => array() ),
'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(),
'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'h6' => array(),
'img' => array( 'src' => array(), 'class' => array(), 'alt' => array() )
);