From c57039543d7c9bd33b4d1a43c7ba427205de13ce Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@20147 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 828a6f4f20..8cbcb660f9 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' ) . '';