summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentyfifteen/header.php')
-rw-r--r--themes/twentyfifteen/header.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/themes/twentyfifteen/header.php b/themes/twentyfifteen/header.php
index 28de34ed..63b04377 100644
--- a/themes/twentyfifteen/header.php
+++ b/themes/twentyfifteen/header.php
@@ -14,7 +14,7 @@
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<link rel="profile" href="http://gmpg.org/xfn/11">
- <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
+ <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
<!--[if lt IE 9]>
<script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js"></script>
<![endif]-->
@@ -31,17 +31,21 @@
<?php
twentyfifteen_the_custom_logo();
- if ( is_front_page() && is_home() ) : ?>
+ if ( is_front_page() && is_home() ) :
+ ?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
- <?php endif;
+ <?php
+ endif;
$description = get_bloginfo( 'description', 'display' );
- if ( $description || is_customize_preview() ) : ?>
+ if ( $description || is_customize_preview() ) :
+ ?>
<p class="site-description"><?php echo $description; ?></p>
- <?php endif;
- ?>
+ <?php
+ endif;
+ ?>
<button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button>
</div><!-- .site-branding -->
</header><!-- .site-header -->