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/content-status.php

    r24131 r25625  
    11<?php
    22/**
    3  * The template for displaying posts in the Status Post Format on index and archive pages
     3 * Template for displaying posts in the Status Post Format
    44 *
    5  * Learn more: http://codex.wordpress.org/Post_Formats
     5 * Used on index and archive pages
     6 *
     7 * @link http://codex.wordpress.org/Post_Formats
    68 *
    79 * @package WordPress
    810 * @subpackage Twenty_Eleven
     11 * @since Twenty Eleven 1.0
    912 */
    1013?>
     
    3033        <?php else : ?>
    3134        <div class="entry-content">
    32             <div class="avatar"><?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentyeleven_status_avatar', '65' ) ); ?></div>
     35            <div class="avatar">
     36                <?php
     37                /**
     38                 * Filter the Twenty Eleven status avatar size.
     39                 *
     40                 * @since Twenty Eleven 1.0
     41                 *
     42                 * @param int The height and width avatar dimensions in pixels. Default 65.
     43                 */
     44                echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentyeleven_status_avatar', 65 ) );
     45                ?>
     46            </div>
    3347
    3448            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
Note: See TracChangeset for help on using the changeset viewer.