]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyeleven/content-single.php
WordPress 3.5.1
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / content-single.php
index c246b74a17326a8d27de526924196f0a0d9836ce..8c283715902b36abda66f71cb5e28cb54ca43574 100644 (file)
                ?>
                <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
 
-               <?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 ?>
+               <?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 ?>
                <div id="author-info">
                        <div id="author-avatar">
                                <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 68 ) ); ?>
                        </div><!-- #author-avatar -->
                        <div id="author-description">
-                               <h2><?php printf( esc_attr__( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2>
+                               <h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2>
                                <?php the_author_meta( 'description' ); ?>
                                <div id="author-link">
                                        <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
@@ -65,7 +65,7 @@
                                        </a>
                                </div><!-- #author-link -->
                        </div><!-- #author-description -->
-               </div><!-- #entry-author-info -->
+               </div><!-- #author-info -->
                <?php endif; ?>
        </footer><!-- .entry-meta -->
 </article><!-- #post-<?php the_ID(); ?> -->