]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentythirteen/author-bio.php
WordPress 4.2.1
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / author-bio.php
index 46ce866783201530ea2df7168778e25eccdb3701..ae2f522b3b5059ec2f7e86d75453907433e0902a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * The template for displaying Author bios.
+ * The template for displaying Author bios
  *
  * @package WordPress
  * @subpackage Twenty_Thirteen
 
 <div class="author-info">
        <div class="author-avatar">
-               <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentythirteen_author_bio_avatar_size', 74 ) ); ?>
+               <?php
+               /**
+                * Filter the author bio avatar size.
+                *
+                * @since Twenty Thirteen 1.0
+                *
+                * @param int $size The avatar height and width size in pixels.
+                */
+               $author_bio_avatar_size = apply_filters( 'twentythirteen_author_bio_avatar_size', 74 );
+               echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
+               ?>
        </div><!-- .author-avatar -->
        <div class="author-description">
                <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2>