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

git-svn-id: https://develop.svn.wordpress.org/trunk@22014 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2012-09-26 16:59:57 +00:00
parent af4607a11e
commit 5a03a885f3
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 -->