<?php
/**
- * The default template for displaying content. Used for both single and index/archive/search.
+ * The default template for displaying content
+ *
+ * Used for both single and index/archive/search.
*
* @package WordPress
* @subpackage Twenty_Twelve
<?php if ( is_singular() && 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. ?>
<div class="author-info">
<div class="author-avatar">
- <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentytwelve_author_bio_avatar_size', 68 ) ); ?>
+ <?php
+ /** This filter is documented in author.php */
+ $author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
+ echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
+ ?>
</div><!-- .author-avatar -->
<div class="author-description">
<h2><?php printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); ?></h2>