Merge pull request #113 from sixhours/patch-3

Escape home_url() in #site-title link. props @sixhours
This commit is contained in:
Michael Fields 2012-11-28 10:19:42 -08:00
commit b6b88b4201
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
<?php do_action( 'before' ); ?> <?php do_action( 'before' ); ?>
<header id="masthead" class="site-header" role="banner"> <header id="masthead" class="site-header" role="banner">
<hgroup> <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> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
</hgroup> </hgroup>