Plugin installer updates from DD32. fixes #7908

git-svn-id: http://svn.automattic.com/wordpress/trunk@9682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-14 17:07:24 +00:00
parent fbb0124c7d
commit 73148914c2
3 changed files with 15 additions and 2 deletions

View File

@ -122,6 +122,13 @@ div.star img {
padding: 10px;
}
#plugin-information .section ul,
#plugin-information .section ol {
margin-left: 16px;
list-style-type: square;
list-style-image: none;
}
#plugin-information #section-screenshots li img {
vertical-align: text-top;
}
@ -136,3 +143,7 @@ div.star img {
#plugin-information pre {
margin-right: 215px;
}
#plugin-information pre {
padding: 7px;
}

View File

@ -383,7 +383,9 @@ function install_plugin_information() {
$plugins_allowedtags = array('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(), '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()));
//Sanitize HTML
foreach ( (array)$api->sections as $section_name => $content )
$api->sections[$section_name] = wp_kses($content, $plugins_allowedtags);

View File

@ -322,7 +322,7 @@ function wp_default_styles( &$styles ) {
$styles->add_data( 'press-this-ie', 'conditional', 'gte IE 6' );
$styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20080613' );
$styles->add( 'login', '/wp-admin/css/login.css' );
$styles->add( 'plugin-install', '/wp-admin/css/plugin-install.css' );
$styles->add( 'plugin-install', '/wp-admin/css/plugin-install.css', array(), '20081114' );
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' );
foreach ( $rtl_styles as $rtl_style )