Ticket #14486: 14486.diff
File 14486.diff, 828 bytes (added by , 15 years ago) |
---|
-
wp-content/themes/twentyten/header.php
73 73 $image[1] >= HEADER_IMAGE_WIDTH ) : 74 74 // Houston, we have a new header image! 75 75 echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' ); 76 else : ?>77 <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />76 elseif ( $maybe_header_image = get_header_image() ) : ?> 77 <img src="<?php echo $maybe_header_image; ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" /> 78 78 <?php endif; ?> 79 79 </div><!-- #branding --> 80 80