Changeset 56583 for trunk/src/wp-content/themes/twentyten/header.php
- Timestamp:
- 09/14/2023 11:23:59 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/header.php
r56315 r56583 96 96 echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' ); 97 97 } else { 98 // Compatibility with versions of WordPress prior to 3.4. 99 if ( function_exists( 'get_custom_header' ) ) { 100 $header_image_width = get_custom_header()->width; 101 $header_image_height = get_custom_header()->height; 102 } else { 103 $header_image_width = HEADER_IMAGE_WIDTH; 104 $header_image_height = HEADER_IMAGE_HEIGHT; 105 } 106 ?> 107 <img src="<?php header_image(); ?>" width="<?php echo esc_attr( $header_image_width ); ?>" height="<?php echo esc_attr( $header_image_height ); ?>" alt="" /> 108 <?php 98 twentyten_header_image(); 109 99 } // End check for featured image or standard header. 110 100 ?>
Note: See TracChangeset
for help on using the changeset viewer.