Wordpress 3.7
[autoinstalls/wordpress.git] / wp-content / themes / twentytwelve / content-status.php
index 55ffcaee246713040bfd5a8a0db1c421f241b2ef..55b72db67d1c4eecccbf0cd97b98f78e19928586 100644 (file)
                                <h1><?php the_author(); ?></h1>
                                <h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a></h2>
                        </header>
-                       <?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?>
+                       <?php
+                       /**
+                        * Filter the status avatar size.
+                        *
+                        * @since Twenty Twelve 1.0
+                        *
+                        * @param int $size The height and width of the avatar in pixels.
+                        */
+                       $status_avatar = apply_filters( 'twentytwelve_status_avatar', 48 );
+                       echo get_avatar( get_the_author_meta( 'ID' ), $status_avatar );
+                       ?>
                </div><!-- .entry-header -->
 
                <div class="entry-content">