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
This commit is contained in:
nacin 2012-03-08 00:01:35 +00:00
parent e59777059b
commit b16b7d770a
1 changed files with 1 additions and 2 deletions

View File

@ -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>';