From 74ea2763158bb587774d817002d02cff579da917 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 5 Dec 2013 19:08:01 +0000 Subject: [PATCH] Theme: When showing an author in the grid (during a search), don't include the author's link. fixes #26433. git-svn-id: https://develop.svn.wordpress.org/trunk@26684 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/theme.php | 3 ++- src/wp-admin/themes.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index 2058058e93..f8071bfaea 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -410,7 +410,8 @@ function wp_prepare_themes_for_js( $themes = null ) { 'name' => $theme->display( 'Name' ), 'screenshot' => array( $theme->get_screenshot() ), // @todo multiple 'description' => $theme->display( 'Description' ), - 'author' => $theme->display( 'Author' ), + 'author' => $theme->display( 'Author', false, true ), + 'authorAndUri' => $theme->display( 'Author' ), 'version' => $theme->display( 'Version' ), 'tags' => $theme->display( 'Tags' ), 'parent' => $parent, diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index bad7c45ef6..c6ac0718a1 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -273,7 +273,7 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_ <# } #>

{{{ data.name }}}

-

+

<# if ( data.hasUpdate ) { #>