Make WordPress Core


Ignore:
Timestamp:
09/20/2013 07:33:23 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentythirteen/author-bio.php

    r24073 r25522  
    11<?php
    22/**
    3  * The template for displaying Author bios.
     3 * The template for displaying Author bios
    44 *
    55 * @package WordPress
    … …  
    1111<div class="author-info">
    1212        <div class="author-avatar">
    13                 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentythirteen_author_bio_avatar_size', 74 ) ); ?>
     13                <?php
     14                /**
     15                 * Filter the author bio avatar size.
     16                 *
     17                 * @since Twenty Thirteen 1.0
     18                 *
     19                 * @param int $size The avatar height and width size in pixels.
     20                 */
     21                $author_bio_avatar_size = apply_filters( 'twentythirteen_author_bio_avatar_size', 74 );
     22                echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
     23                ?>
    1424        </div><!-- .author-avatar -->
    1525        <div class="author-description">
Note: See TracChangeset for help on using the changeset viewer.