diff options
Diffstat (limited to 'themes/twentyfourteen/header.php')
-rw-r--r-- | themes/twentyfourteen/header.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/themes/twentyfourteen/header.php b/themes/twentyfourteen/header.php index 7286d889..1de76b34 100644 --- a/themes/twentyfourteen/header.php +++ b/themes/twentyfourteen/header.php @@ -23,7 +23,7 @@ <meta name="viewport" content="width=device-width"> <title><?php wp_title( '|', true, 'right' ); ?></title> <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 get_template_directory_uri(); ?>/js/html5.js"></script> <![endif]--> @@ -51,7 +51,15 @@ <nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation"> <button class="menu-toggle"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></button> <a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a> - <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu', 'menu_id' => 'primary-menu' ) ); ?> + <?php + wp_nav_menu( + array( + 'theme_location' => 'primary', + 'menu_class' => 'nav-menu', + 'menu_id' => 'primary-menu', + ) + ); + ?> </nav> </div> |