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

    r22318 r25521  
    1515                                <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>
    1616                        </header>
    17                         <?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?>
     17                        <?php
     18                        /**
     19                         * Filter the status avatar size.
     20                         *
     21                         * @since Twenty Twelve 1.0
     22                         *
     23                         * @param int $size The height and width of the avatar in pixels.
     24                         */
     25                        $status_avatar = apply_filters( 'twentytwelve_status_avatar', 48 );
     26                        echo get_avatar( get_the_author_meta( 'ID' ), $status_avatar );
     27                        ?>
    1828                </div><!-- .entry-header -->
    1929
Note: See TracChangeset for help on using the changeset viewer.