Skip to content

Commit

Permalink
Escape home_url() with esc_url()
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxMedia committed Jul 19, 2018
1 parent 0303c33 commit c21c1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion header.php
Expand Up @@ -80,7 +80,7 @@
</div>
<?php endif; ?>
<?php if ( get_theme_mod('header-image','') ): ?>
<a href="<?php echo home_url('/'); ?>" rel="home">
<a href="<?php echo esc_url( home_url('/') ); ?>" rel="home">
<img class="site-image" src="<?php echo esc_url( get_theme_mod('header-image') ); ?>" alt="<?php get_bloginfo('name'); ?>">
</a>
<?php endif; ?>
Expand Down

0 comments on commit c21c1f5

Please sign in to comment.