diff --git a/wp-admin/includes/class-wp-themes-list-table.php b/wp-admin/includes/class-wp-themes-list-table.php
index b4ec81c591..5cd90664cd 100644
--- a/wp-admin/includes/class-wp-themes-list-table.php
+++ b/wp-admin/includes/class-wp-themes-list-table.php
@@ -162,8 +162,11 @@ class WP_Themes_List_Table extends WP_List_Table {
-
+
+|
+
+
%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, str_replace( WP_CONTENT_DIR, '', $template_dir ), str_replace( WP_CONTENT_DIR, '', $stylesheet_dir ), $title, $parent_theme ); ?>
@@ -173,8 +176,9 @@ class WP_Themes_List_Table extends WP_List_Table {
-
+
+
name, $themes_allowedtags);
+ $author = wp_kses($theme->author, $themes_allowedtags);
$desc = wp_kses($theme->description, $themes_allowedtags);
//if ( strlen($desc) > 30 )
// $desc = substr($desc, 0, 15) . '...' . substr($desc, -15) . '';
@@ -153,14 +154,15 @@ function display_theme($theme, $actions = null, $show_details = true) {
title=''>
-
+by %2$s' ), $name, $author ); ?>
-
-
+|
+
version, $themes_allowedtags) ?>
-
author, $themes_allowedtags) ?>
last_updated) ) : ?>
last_updated)) ) ?>
requires) ) : ?>
diff --git a/wp-admin/js/theme-preview.dev.js b/wp-admin/js/theme-preview.dev.js
index 744278c266..5cf38bc2ea 100644
--- a/wp-admin/js/theme-preview.dev.js
+++ b/wp-admin/js/theme-preview.dev.js
@@ -55,7 +55,7 @@ jQuery(document).ready(function($) {
} );
// Theme details
- $('.theme-detail').click(function () {
+ $('#availablethemes').on('click', 'a.theme-detail', function (event) {
$(this).siblings('.themedetaildiv').toggle();
return false;
});