diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 1d16e979d..393d92f48 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -45,6 +45,7 @@ require_once('admin-header.php'); name]); uksort( $themes, "strnatcasecmp" ); $theme_total = count( $themes ); @@ -132,10 +133,13 @@ function theme_update_available( $theme ) { +

+ +
' . __( 'Displaying %s–%s of %s' ) . '%s', @@ -147,7 +151,6 @@ function theme_update_available( $theme ) {
- $theme_name ) { $author = $themes[$theme_name]['Author']; $screenshot = $themes[$theme_name]['Screenshot']; $stylesheet_dir = $themes[$theme_name]['Stylesheet Dir']; + $template_dir = $themes[$theme_name]['Template Dir']; + $parent_theme = $themes[$theme_name]['Parent Theme']; $preview_link = clean_url( get_option('home') . '/'); $preview_link = htmlspecialchars( add_query_arg( array('preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true' ), $preview_link ) ); $preview_text = attribute_escape( sprintf( __('Preview of "%s"'), $title ) ); @@ -202,11 +207,18 @@ foreach ( $cols as $col => $theme_name ) { -

- -

+

+

+ + +

%2$s. The stylesheet files are located in %3$s. %4$s uses templates from %5$s. Changes made to the templates will affect both themes.'), $title, $template_dir, $stylesheet_dir, $title, $parent_theme); ?>

+ +

%2$s.'), $title, $template_dir, $stylesheet_dir); ?>

+ -

+

@@ -215,8 +227,9 @@ foreach ( $cols as $col => $theme_name ) {
- - + +

+
@@ -265,7 +278,7 @@ if ( count($broken_themes) ) { } ?> -

+

WordPress theme directory. To install a theme you generally just need to upload the theme folder into your wp-content/themes directory. Once a theme is uploaded, you should see it on this page.'); ?>