diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php
index bd39dea20f..7dae5beba2 100644
--- a/wp-admin/includes/theme.php
+++ b/wp-admin/includes/theme.php
@@ -14,6 +14,7 @@ function current_theme_info() {
$ct->screenshot = $themes[$current_theme]['Screenshot'];
$ct->description = $themes[$current_theme]['Description'];
$ct->author = $themes[$current_theme]['Author'];
+ $ct->tags = $themes[$current_theme]['Tags'];
return $ct;
}
diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index f91a69bbb6..dd231cf616 100644
--- a/wp-admin/themes.php
+++ b/wp-admin/themes.php
@@ -40,6 +40,9 @@ $ct = current_theme_info();
%2$s.'), $ct->title, $ct->template_dir, $ct->stylesheet_dir); ?>
+tags ) : ?>
+ tags); ?>
+
@@ -62,6 +65,7 @@ foreach ($theme_names as $theme_name) {
$author = $themes[$theme_name]['Author'];
$screenshot = $themes[$theme_name]['Screenshot'];
$stylesheet_dir = $themes[$theme_name]['Stylesheet Dir'];
+ $tags = $themes[$theme_name]['Tags'];
$activate_link = wp_nonce_url("themes.php?action=activate&template=".urlencode($template)."&stylesheet=".urlencode($stylesheet), 'switch-theme_' . $template);
?>
@@ -74,6 +78,9 @@ foreach ($theme_names as $theme_name) {
+
+
+
diff --git a/wp-content/themes/classic/style.css b/wp-content/themes/classic/style.css
index f5436b2b73..2328126ab7 100644
--- a/wp-content/themes/classic/style.css
+++ b/wp-content/themes/classic/style.css
@@ -4,6 +4,7 @@ Theme URI: http://wordpress.org/
Description: The original WordPress theme that graced versions 1.2.x and prior.
Version: 1.5
Author: Dave Shea
+Tags: mantle color, variable width, two columns, widgets
Default WordPress by Dave Shea || http://mezzoblue.com
Modifications by Matthew Mullenweg || http://photomatt.net
diff --git a/wp-content/themes/default/style.css b/wp-content/themes/default/style.css
index 74cb7213a9..17ad0a0525 100644
--- a/wp-content/themes/default/style.css
+++ b/wp-content/themes/default/style.css
@@ -5,6 +5,7 @@ Description: The default WordPress theme based on the famous %3$s', $author_uri, __( 'Visit author homepage' ), wp_kses( trim( $author_name[1] ), $themes_allowed_tags ) );
}
- return array( 'Name' => $name, 'Title' => $theme, 'URI' => $theme_uri, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template, 'Status' => $status );
+ return array( 'Name' => $name, 'Title' => $theme, 'URI' => $theme_uri, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template, 'Status' => $status, 'Tags' => $tags );
}
function get_themes() {
@@ -261,7 +266,7 @@ function get_themes() {
}
}
- $themes[$name] = array('Name' => $name, 'Title' => $title, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template, 'Stylesheet' => $stylesheet, 'Template Files' => $template_files, 'Stylesheet Files' => $stylesheet_files, 'Template Dir' => $template_dir, 'Stylesheet Dir' => $stylesheet_dir, 'Status' => $theme_data['Status'], 'Screenshot' => $screenshot);
+ $themes[$name] = array('Name' => $name, 'Title' => $title, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template, 'Stylesheet' => $stylesheet, 'Template Files' => $template_files, 'Stylesheet Files' => $stylesheet_files, 'Template Dir' => $template_dir, 'Stylesheet Dir' => $stylesheet_dir, 'Status' => $theme_data['Status'], 'Screenshot' => $screenshot, 'Tags' => $theme_data['Tags']);
}
// Resolve theme dependencies.