From b16b7d770adf6c69aa3f0237c93d86664e983f98 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 8 Mar 2012 00:01:35 +0000 Subject: [PATCH] Always print the Author in the MS themes list table. display('Author') will be 'Anonymous' if no author is specified. see #20103. git-svn-id: http://svn.automattic.com/wordpress/trunk@20147 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-ms-themes-list-table.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-ms-themes-list-table.php b/wp-admin/includes/class-wp-ms-themes-list-table.php index 828a6f4f2..8cbcb660f 100644 --- a/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -329,8 +329,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table { if ( $theme->get('Version') ) $theme_meta[] = sprintf( __( 'Version %s' ), $theme->display('Version') ); - if ( $theme->get('Author') ) - $theme_meta[] = sprintf( __( 'By %s' ), $theme->display('Author') ); + $theme_meta[] = sprintf( __( 'By %s' ), $theme->display('Author') ); if ( $theme->get('ThemeURI') ) $theme_meta[] = '' . __( 'Visit Theme Site' ) . '';