From 3be48e6d26548c0b172ef6b8e7abf115f1d54a8e Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Fri, 22 Nov 2013 02:10:10 +0000 Subject: [PATCH] Themes page: Don't display the Author as a link if the Author has no AuthorURI set. Props morganestes. Fixes #26098 Built from https://develop.svn.wordpress.org/trunk@26314 git-svn-id: http://core.svn.wordpress.org/trunk@26218 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/themes.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 75db4724a8..0341f9d72d 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -267,7 +267,11 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_ <# } #>

{{ data.name }} {{ data.version }}

-

{{ data.author }}' ); ?>

+ <# if ( data.authorURI ) { #> +

{{ data.author }}' ); ?>

+ <# } else { #> +

+ <# } #> <# if ( data.hasUpdate ) { #>