From 82f597e2964576f084bc9bd134933a12598d4a4f Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 14 Jan 2011 19:16:21 +0000 Subject: [PATCH] Check for theme support before calling has_post_thumbnail for child theme compatibility. see #14903. git-svn-id: http://svn.automattic.com/wordpress/trunk@17300 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/twentyten/header.php b/wp-content/themes/twentyten/header.php index 2c44e8d01..54971c930 100644 --- a/wp-content/themes/twentyten/header.php +++ b/wp-content/themes/twentyten/header.php @@ -67,7 +67,7 @@ ID ) && ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) && $image[1] >= HEADER_IMAGE_WIDTH ) :