Make WordPress Core


Ignore:
Timestamp:
09/25/2013 05:03:34 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Ten: update code comments to reflect WP inline docs standards. Props DrewAPicture, closes #25256.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/loop-attachment.php

    r19599 r25627  
    11<?php
    22/**
    3  * The loop that displays an attachment.
     3 * The loop that displays an attachment
    44 *
    55 * The loop displays the posts and the post content. See
     
    8787?>
    8888                        <p class="attachment"><a href="<?php echo $next_attachment_url; ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php
     89                            /**
     90                             * Filter the Twenty Ten default attachment width.
     91                             *
     92                             * @since Twenty Ten 1.0
     93                             *
     94                             * @param int The default attachment width in pixels. Default 900.
     95                             */
    8996                            $attachment_width  = apply_filters( 'twentyten_attachment_size', 900 );
     97                            /**
     98                             * Filter the Twenty Ten default attachment height.
     99                             *
     100                             * @since Twenty Ten 1.0
     101                             *
     102                             * @param int The default attachment height in pixels. Default 900.
     103                             */
    90104                            $attachment_height = apply_filters( 'twentyten_attachment_height', 900 );
    91105                            echo wp_get_attachment_image( $post->ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height.
Note: See TracChangeset for help on using the changeset viewer.