Make WordPress Core

Ticket #26098: themes.diff

File themes.diff, 886 bytes (added by morganestes, 12 years ago)

Proposed changes

  • wp-admin/themes.php

     
    264264                                <span class="current-label"><?php _e( 'Current Theme' ); ?></span>
    265265                        <# } #>
    266266                        <h3 class="theme-name">{{ data.name }}<span class="theme-version"><?php _e('Version: '); ?> {{ data.version }}</span></h3>
    267                         <h4 class="theme-author"><?php printf( __( 'By %s' ), '<a href="{{ data.authorURI }}">{{ data.author }}</a>' ); ?></h4>
     267                        <# if ( data.authorURI ) { #>
     268                                <h4 class="theme-author"><?php printf( __( 'By %s' ), '<a href="{{ data.authorURI }}">{{ data.author }}</a>' ); ?></h4>
     269                        <# } else { #>
     270                                <h4 class="theme-author"><?php printf( __( 'By %s' ), '{{ data.author }}' ); ?></h4>
     271                        <# } #>
    268272
    269273                        <# if ( data.hasUpdate ) { #>
    270274                        <div class="theme-update-message">