forked from mirror/_s
Merge pull request #113 from sixhours/patch-3
Escape home_url() in #site-title link. props @sixhours
This commit is contained in:
commit
b6b88b4201
|
@ -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>
|
||||||
|
|
||||||
|
|
Reference in New Issue