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:
parent
fbb0124c7d
commit
73148914c2
|
@ -122,6 +122,13 @@ div.star img {
|
||||||
padding: 10px;
|
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 {
|
#plugin-information #section-screenshots li img {
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
@ -135,4 +142,8 @@ div.star img {
|
||||||
#plugin-information .updated,
|
#plugin-information .updated,
|
||||||
#plugin-information pre {
|
#plugin-information pre {
|
||||||
margin-right: 215px;
|
margin-right: 215px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plugin-information pre {
|
||||||
|
padding: 7px;
|
||||||
}
|
}
|
|
@ -383,7 +383,9 @@ function install_plugin_information() {
|
||||||
$plugins_allowedtags = array('a' => array('href' => array(), 'title' => array(), 'target' => array()),
|
$plugins_allowedtags = array('a' => array('href' => array(), 'title' => array(), 'target' => array()),
|
||||||
'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(), '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
|
//Sanitize HTML
|
||||||
foreach ( (array)$api->sections as $section_name => $content )
|
foreach ( (array)$api->sections as $section_name => $content )
|
||||||
$api->sections[$section_name] = wp_kses($content, $plugins_allowedtags);
|
$api->sections[$section_name] = wp_kses($content, $plugins_allowedtags);
|
||||||
|
|
|
@ -322,7 +322,7 @@ function wp_default_styles( &$styles ) {
|
||||||
$styles->add_data( 'press-this-ie', 'conditional', 'gte IE 6' );
|
$styles->add_data( 'press-this-ie', 'conditional', 'gte IE 6' );
|
||||||
$styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20080613' );
|
$styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20080613' );
|
||||||
$styles->add( 'login', '/wp-admin/css/login.css' );
|
$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' );
|
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' );
|
||||||
|
|
||||||
foreach ( $rtl_styles as $rtl_style )
|
foreach ( $rtl_styles as $rtl_style )
|
||||||
|
|
Loading…
Reference in New Issue