WordPress.org

Make WordPress Core

Changeset 20147


Ignore:
Timestamp:
03/08/12 00:01:35 (2 years ago)
Author:
nacin
Message:

Always print the Author in the MS themes list table. display('Author') will be 'Anonymous' if no author is specified. see #20103.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-ms-themes-list-table.php

    r20052 r20147  
    330330                        $theme_meta[] = sprintf( __( 'Version %s' ), $theme->display('Version') ); 
    331331 
    332                     if ( $theme->get('Author') ) 
    333                         $theme_meta[] = sprintf( __( 'By %s' ), $theme->display('Author') ); 
     332                    $theme_meta[] = sprintf( __( 'By %s' ), $theme->display('Author') ); 
    334333 
    335334                    if ( $theme->get('ThemeURI') ) 
Note: See TracChangeset for help on using the changeset viewer.