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/image.php

    r22318 r25521  
    11<?php
    22/**
    3  * The template for displaying image attachments.
     3 * The template for displaying image attachments
    44 *
    5  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     5 * @link http://codex.wordpress.org/Template_Hierarchy
    66 *
    77 * @package WordPress
     
    7575?>
    7676                                <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php
     77                                /**
     78                                 * Filter the image attachment size to use.
     79                                 *
     80                                 * @since Twenty Twelve 1.0
     81                                 *
     82                                 * @param array $size {
     83                                 *     @type int The attachment height in pixels.
     84                                 *     @type int The attachment width in pixels.
     85                                 * }
     86                                 */
    7787                                $attachment_size = apply_filters( 'twentytwelve_attachment_size', array( 960, 960 ) );
    7888                                echo wp_get_attachment_image( $post->ID, $attachment_size );
Note: See TracChangeset for help on using the changeset viewer.