Make WordPress Core

Ticket #22885: 22885.diff

File 22885.diff, 740 bytes (added by georgestephanis, 12 years ago)
  • wp-includes/post-thumbnail-template.php

     
    3939 *
    4040 * @since 2.9.0
    4141 *
    42  * @param int $size Optional. Image size. Defaults to 'post-thumbnail', which theme sets using set_post_thumbnail_size( $width, $height, $crop_flag );.
     42 * @param string $size Optional. Image size. Defaults to 'post-thumbnail', which theme sets using set_post_thumbnail_size( $width, $height, $crop_flag );.
    4343 * @param string|array $attr Optional. Query string or array of attributes.
    4444 */
    4545function the_post_thumbnail( $size = 'post-thumbnail', $attr = '' ) {