Twenty Twelve: header image should be wrapped in a link to home. Fixes #22004.

git-svn-id: http://core.svn.wordpress.org/trunk@22014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2012-09-26 16:59:57 +00:00
parent 669b4b3a6d
commit ebb2967466
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
<?php $header_image = get_header_image();
if ( ! empty( $header_image ) ) : ?>
<img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a>
<?php endif; ?>
</header><!-- #masthead -->