Permalink
Browse files

Merge pull request #113 from sixhours/patch-3

Escape home_url() in #site-title link. props @sixhours
  • Loading branch information...
2 parents ba4af12 + c2c282e commit b6b88b4201aecd6fb94b98f5b031f8cf78a4d4f3 @mfields mfields committed Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 header.php
View
@@ -27,7 +27,7 @@
<?php do_action( 'before' ); ?>
<header id="masthead" class="site-header" role="banner">
<hgroup>
- <h1 class="site-title"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+ <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
</hgroup>

0 comments on commit b6b88b4

Please sign in to comment.