[wp-trac] [WordPress Trac] #18006: Twenty Eleven header.php size uses width instead of height
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 6 16:34:28 UTC 2011
#18006: Twenty Eleven header.php size uses width instead of height
--------------------------+-----------------------------
Reporter: RVoodoo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.2
Severity: normal | Keywords:
--------------------------+-----------------------------
{{{
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[1] >= HEADER_IMAGE_WIDTH ) :
// Houston, we have a new header image!
}}}
The above code, judging by the commented portion should reference SRC ,
WIDTH, HEIGHT. Instead it references SRC, WIDTH, WIDTH
I believe this might be a simple coding error?
http://wordpress.org/support/topic/twenty-eleven-theme-header-is-this-
intentional?replies=2
Is my forum post about it
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18006>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list