Make WordPress Core


Ignore:
Timestamp:
09/25/2013 04:49:36 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Eleven: 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/twentyeleven/author.php

    r19957 r25625  
    11<?php
    22/**
    3  * The template for displaying Author Archive pages.
     3 * Template for displaying Author Archive pages
    44 *
    55 * @package WordPress
     
    1616
    1717                <?php
    18                     /* Queue the first post, that way we know
    19                      * what author we're dealing with (if that is the case).
     18                    /**
     19                     * Queue the first post, that way we know what author
     20                     * we're dealing with (if that is the case).
    2021                     *
    21                      * We reset this later so we can run the loop
    22                      * properly with a call to rewind_posts().
     22                     * We reset this later so we can run the loop properly
     23                     * with a call to rewind_posts().
    2324                     */
    2425                    the_post();
     
    3031
    3132                <?php
    32                     /* Since we called the_post() above, we need to
     33                    /**
     34                     * Since we called the_post() above, we need to
    3335                     * rewind the loop back to the beginning that way
    3436                     * we can run the loop properly, in full.
     
    4446                <div id="author-info">
    4547                    <div id="author-avatar">
    46                         <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 60 ) ); ?>
     48                        <?php
     49                        /**
     50                         * Filter the Twenty Eleven author bio avatar size.
     51                         *
     52                         * @since Twenty Eleven 1.0
     53                         *
     54                         * @param int The height and width avatar dimension in pixels. Default 60.
     55                         */
     56                        echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 60 ) );
     57                        ?>
    4758                    </div><!-- #author-avatar -->
    4859                    <div id="author-description">
     
    5768
    5869                    <?php
    59                         /* Include the Post-Format-specific template for the content.
     70                        /**
     71                         * Include the Post-Format-specific template for the content.
    6072                         * If you want to overload this in a child theme then include a file
    6173                         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
Note: See TracChangeset for help on using the changeset viewer.