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
This commit is contained in:
Andrew Nacin
2012-03-08 00:01:35 +00:00
parent 22eed35901
commit c57039543d
@@ -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[] = '<a href="' . $theme->display('ThemeURI') . '" title="' . esc_attr__( 'Visit theme homepage' ) . '">' . __( 'Visit Theme Site' ) . '</a>';