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:
parent
af4607a11e
commit
5a03a885f3
@ -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 -->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user