diff --git a/wp-admin/css/theme-editor.css b/wp-admin/css/theme-editor.css index 7119339cd..fdfdbbee7 100644 --- a/wp-admin/css/theme-editor.css +++ b/wp-admin/css/theme-editor.css @@ -1 +1 @@ -#template textarea{font-family:Consolas,Monaco,Courier,monospace;font-size:12px;width:97%;}#template p{width:97%;}#templateside{float:right;width:190px;word-wrap:break-word;}#templateside h3,#postcustomstuff p.submit{margin:0;}#templateside h4{margin:1em 0 0;}#templateside ol,#templateside ul{margin:.5em;padding:0;}#templateside li{margin:4px 0;}.nonessential{font-size:11px;font-style:italic;padding-left:12px;}.highlight{padding:3px 3px 3px 12px;margin-left:-12px;font-weight:bold;-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}div.tablenav{margin-right:210px;}#documentation{margin-top:10px;}#documentation label{line-height:22px;vertical-align:top;font-weight:bold;}.fileedit-sub{padding:10px 0 8px;line-height:180%;} \ No newline at end of file +#template textarea{font-family:Consolas,Monaco,Courier,monospace;font-size:12px;width:97%;}#template p{width:97%;}#templateside{float:right;width:190px;word-wrap:break-word;}#templateside h3,#postcustomstuff p.submit{margin:0;}#templateside h4{margin:1em 0 0;}#templateside ol,#templateside ul{margin:.5em;padding:0;}#templateside li{margin:4px 0;}#templateside ul li a span.highlight{display:block;}.nonessential{font-size:11px;font-style:italic;padding-left:12px;}.highlight{padding:3px 3px 3px 12px;margin-left:-12px;font-weight:bold;-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}div.tablenav{margin-right:210px;}#documentation{margin-top:10px;}#documentation label{line-height:22px;vertical-align:top;font-weight:bold;}.fileedit-sub{padding:10px 0 8px;line-height:180%;} \ No newline at end of file diff --git a/wp-admin/css/theme-editor.dev.css b/wp-admin/css/theme-editor.dev.css index d317a01f2..17546493c 100644 --- a/wp-admin/css/theme-editor.dev.css +++ b/wp-admin/css/theme-editor.dev.css @@ -33,6 +33,10 @@ margin: 4px 0; } +#templateside ul li a span.highlight { + display:block; +} + .nonessential { font-size: 11px; font-style: italic; diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index c742f9dec..6400ff4d9 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -154,7 +154,7 @@ if ($allowed_files) : $description = trim( get_file_description($template_file) ); $template_show = basename($template_file); $filedesc = ( $description != $template_file ) ? "$description
($template_show)" : "$description"; - $filedesc = ( $template_file == $file ) ? "
$description
($template_show)
" : $filedesc; + $filedesc = ( $template_file == $file ) ? "$description
($template_show)
" : $filedesc; // If we have two files of the same name prefer the one in the Template Directory // This means that we display the correct files for child themes which overload Templates as well as Styles @@ -181,7 +181,7 @@ if ($allowed_files) : $description = trim( get_file_description($style_file) ); $style_show = basename($style_file); $filedesc = ( $description != $style_file ) ? "$description
($style_show)" : "$description"; - $filedesc = ( $style_file == $file ) ? "
$description
($style_show)
" : $filedesc; + $filedesc = ( $style_file == $file ) ? "$description
($style_show)
" : $filedesc; $template_mapping[ $description ] = array( _get_template_edit_filename($style_file, $stylesheet_dir), $filedesc ); } ksort( $template_mapping ); diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index f6c32c2d7..e3eda2a35 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -467,7 +467,7 @@ function wp_default_styles( &$styles ) { $styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20091118' ); $styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20100424' ); $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20100313' ); // Readme as well - $styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20090625' ); + $styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20100514' ); $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20100424' ); $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20090514' ); $styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20100403' );