summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2019-04-28 18:30:29 -0400
committerYury German <blueknight@gentoo.org>2019-04-28 18:30:29 -0400
commit4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e (patch)
tree171fddc56d74d8492ffb703f04543896b6344243 /themes/twentyfourteen/header.php
parentUpdating packages for 5.1.1 (diff)
downloadblogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.tar.gz
blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.tar.bz2
blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.zip
Updating the themes
Updated themes. The followng themes updated: Mantra - 3.0.5 => 3.1.0, Twenty Fifteen 2.2 => 2.4 Twenty Fourteen 2.4 => 2.6, Twenty Sixteen 1.7 => 1.9 Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'themes/twentyfourteen/header.php')
-rw-r--r--themes/twentyfourteen/header.php12
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>