Make WordPress Core


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

Twenty Twelve: 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/twentytwelve/content.php

    r24131 r25521  
    11<?php
    22/**
    3  * The default template for displaying content. Used for both single and index/archive/search.
     3 * The default template for displaying content
     4 *
     5 * Used for both single and index/archive/search.
    46 *
    57 * @package WordPress
     
    4850                <div class="author-info">
    4951                    <div class="author-avatar">
    50                         <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentytwelve_author_bio_avatar_size', 68 ) ); ?>
     52                        <?php
     53                        /**
     54                         * Filter the author bio avatar size.
     55                         *
     56                         * @since Twenty Twelve 1.0
     57                         *
     58                         * @param int $size The height and width of the avatar in pixels.
     59                         */
     60                        $author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
     61                        echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
     62                        ?>
    5163                    </div><!-- .author-avatar -->
    5264                    <div class="author-description">
Note: See TracChangeset for help on using the changeset viewer.