Plugins: Don't strip line breaks and blockquote elements in the plugin information modal.

Fixes #40679.

git-svn-id: https://develop.svn.wordpress.org/trunk@40633 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2017-05-11 19:15:30 +00:00
parent a619778c3b
commit 2dbc6ea67b
2 changed files with 11 additions and 2 deletions

View File

@ -2817,6 +2817,14 @@ div.action-links {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
#plugin-information blockquote {
border-left: 2px solid #ddd;
color: #666;
font-style: italic;
margin: 1em 0;
padding: 0 0 0 1em;
}
/* rtl:ignore */ /* rtl:ignore */
#plugin-information .review { #plugin-information .review {
overflow: hidden; /* clearfix */ overflow: hidden; /* clearfix */

View File

@ -480,9 +480,10 @@ function install_plugin_information() {
'abbr' => array( 'title' => array() ), 'acronym' => array( 'title' => array() ), 'abbr' => array( 'title' => array() ), 'acronym' => array( 'title' => array() ),
'code' => array(), 'pre' => array(), 'em' => array(), 'strong' => array(), 'code' => array(), 'pre' => array(), 'em' => array(), 'strong' => array(),
'div' => array( 'class' => array() ), 'span' => array( 'class' => array() ), 'div' => array( 'class' => array() ), 'span' => array( 'class' => array() ),
'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(), 'p' => array(), 'br' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(),
'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'h6' => array(), 'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'h6' => array(),
'img' => array( 'src' => array(), 'class' => array(), 'alt' => array() ) 'img' => array( 'src' => array(), 'class' => array(), 'alt' => array() ),
'blockquote' => array( 'cite' => true ),
); );
$plugins_section_titles = array( $plugins_section_titles = array(