Make WordPress Core

Ticket #23592: 23592.patch

File 23592.patch, 675 bytes (added by Viper007Bond, 13 years ago)
  • wp-content/themes/twentythirteen/functions.php

     
    409409        }
    410410
    411411        // Post author
    412         if ( 'post' == get_post_type() ) {
     412        if ( 'post' == get_post_type() && is_multi_author() ) {
    413413                printf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>',
    414414                        esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    415415                        esc_attr( sprintf( __( 'View all posts by %s', 'twentythirteen' ), get_the_author() ) ),