Skip to content

Commit

Permalink
Escapes header urls.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffikus committed Aug 22, 2016
1 parent 32b86a5 commit b93c2d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions header.php
Expand Up @@ -19,7 +19,7 @@

<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'components' ); ?></a>
<a class="skip-link screen-reader-text" href="<?php echo esc_url( __( '#content', 'components' ) ); ?>"><?php esc_html_e( 'Skip to content', 'components' ); ?></a>


<?php if ( is_front_page() ) { ?>
Expand Down Expand Up @@ -63,7 +63,7 @@
<?php endif; ?>
</div><!-- .site-branding -->
<div id="intro">
<p>The choice is yours: jump-start a <a href="#blog-classic">blog</a>, <a href="#portfolio">portfolio</a>, <a href="#business">business</a>, or <a href="#magazine">magazine site</a> – or concoct something completely custom. No matter which route you take, you&rsquo;ll save tons of time and turbo-charge your theme&rsquo;s development.
<p>The choice is yours: jump-start a <a href="<?php echo esc_url( __( '#blog-classic', 'components' ) ); ?>">blog</a>, <a href="<?php echo esc_url( __( '#portfolio', 'components' ) ); ?>">portfolio</a>, <a href="<?php echo esc_url( __( '#business', 'components' ) ); ?>">business</a>, or <a href="<?php echo esc_url( __( '#magazine', 'components' ) ); ?>">magazine site</a> – or concoct something completely custom. No matter which route you take, you&rsquo;ll save tons of time and turbo-charge your theme&rsquo;s development.
</div><!-- #intro -->
</div><!-- .intro-content -->
</div><!-- .content-wrapper -->
Expand Down

0 comments on commit b93c2d8

Please sign in to comment.