Make WordPress Core

Changeset 16434


Ignore:
Timestamp:
11/17/2010 05:33:08 PM (14 years ago)
Author:
nacin
Message:

Don't pass optional argument with its default value. props hakre, fixes #15450.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/header.php

    r15520 r16434  
    7373                            $image[1] >= HEADER_IMAGE_WIDTH ) :
    7474                        // Houston, we have a new header image!
    75                         echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
     75                        echo get_the_post_thumbnail( $post->ID );
    7676                    elseif ( get_header_image() ) : ?>
    7777                        <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
Note: See TracChangeset for help on using the changeset viewer.