WordPress.org

Make WordPress Core

Ticket #19504: 19504.diff

File 19504.diff, 993 bytes (added by duck_, 2 years ago)
  • wp-content/themes/twentyeleven/content-single.php

     
    5151                ?> 
    5252                <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    5353 
    54                 <?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?> 
     54                <?php if ( get_the_author_meta( 'description' ) && ( ! function_exists( 'is_multi_author' ) || is_multi_author() ) ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?> 
    5555                <div id="author-info"> 
    5656                        <div id="author-avatar"> 
    5757                                <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 68 ) ); ?>