mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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>';
|
||||
|
||||
Reference in New Issue
Block a user