]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentytwelve/author.php
WordPress 3.9.2
[autoinstalls/wordpress.git] / wp-content / themes / twentytwelve / author.php
index 0fa2e6bfebb5ad91e007cfbaf9469c9eab309eb3..6570108e7ee2d8640c237552be2bb4f0f0997db2 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 /**
- * The template for displaying Author Archive pages.
+ * The template for displaying Author Archive pages
  *
  * Used to display archive-type pages for posts by an author.
  *
- * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ * @link http://codex.wordpress.org/Template_Hierarchy
  *
  * @package WordPress
  * @subpackage Twenty_Twelve
@@ -47,7 +47,17 @@ get_header(); ?>
                        if ( get_the_author_meta( 'description' ) ) : ?>
                        <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', 60 ) ); ?>
+                                       <?php
+                                       /**
+                                        * Filter the author bio avatar size.
+                                        *
+                                        * @since Twenty Twelve 1.0
+                                        *
+                                        * @param int $size The height and width of the avatar in pixels.
+                                        */
+                                       $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>