has_post_thumbnail( $post->ID ) && ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( HEADER_IMAGE_WIDTH, HEADER_IMAGE_WIDTH ) ) ) && $image >= HEADER_IMAGE_WIDTH ) : // Houston, we have a new header image!
OK, first let me preface this by saying I pretty much know jack poop about code! Just enough to break my site.
But looking at this code for the custom header image out of twentyeleven, the commented portion references that the following will be SRC WIDTH HEIGHT
However, the actual code repeats the width, so it is referencing SRC WIDTH WIDTH
Is this a bug, or intentional?
- The topic ‘Twenty eleven theme header, is this intentional?’ is closed to new replies.