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

    r19582 r25625  
    11<?php
    22/**
    3  * The template for displaying image attachments.
     3 * Template for displaying image attachments
    44 *
    55 * @package WordPress
     
    7373?>
    7474                                    <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php
     75                                    /**
     76                                     * Filter the Twenty Eleven default attachment size.
     77                                     *
     78                                     * @since Twenty Eleven 1.0
     79                                     *
     80                                     * @param int The height and width attachment size dimensions in pixels. Default 848.
     81                                     */
    7582                                    $attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 );
    7683                                    echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height.
Note: See TracChangeset for help on using the changeset viewer.