Changeset 20225 for trunk/wp-content/themes/twentyten/header.php
- Timestamp:
- 03/20/2012 09:32:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/header.php
r19599 r20225 71 71 has_post_thumbnail( $post->ID ) && 72 72 ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) && 73 $image[1] >= HEADER_IMAGE_WIDTH) :73 $image[1] >= get_theme_support( 'custom-header', 'width' ) ) : 74 74 // Houston, we have a new header image! 75 75 echo get_the_post_thumbnail( $post->ID ); 76 76 elseif ( get_header_image() ) : ?> 77 <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />77 <img src="<?php header_image(); ?>" width="<?php echo get_theme_support( 'custom-header', 'width' ); ?>" height="<?php echo get_theme_support( 'custom-header', 'height' ); ?>" alt="" /> 78 78 <?php endif; ?> 79 79 </div><!-- #branding -->
Note: See TracChangeset
for help on using the changeset viewer.