From cfe901f3bfd4cb066623cf8943fec8f6edea4bd4 Mon Sep 17 00:00:00 2001
From: samba <samba@autistici.org>
Date: Sun, 19 May 2019 22:12:50 +0200
Subject: [PATCH] [auto] theme: twentyfifteen 2.5

---
 wp-content/themes/twentyfifteen/archive.php   |  2 +-
 .../themes/twentyfifteen/content-link.php     |  2 +-
 .../themes/twentyfifteen/content-none.php     |  2 +-
 .../themes/twentyfifteen/content-page.php     |  2 +-
 .../themes/twentyfifteen/content-search.php   |  4 ++--
 wp-content/themes/twentyfifteen/content.php   |  2 +-
 wp-content/themes/twentyfifteen/functions.php |  4 ++--
 wp-content/themes/twentyfifteen/header.php    | 13 ++++++------
 wp-content/themes/twentyfifteen/image.php     |  2 +-
 .../twentyfifteen/inc/template-tags.php       | 20 ++++++++++++++++++-
 wp-content/themes/twentyfifteen/index.php     |  2 +-
 wp-content/themes/twentyfifteen/readme.txt    | 15 ++++++++++++--
 wp-content/themes/twentyfifteen/style.css     |  4 ++--
 13 files changed, 52 insertions(+), 22 deletions(-)

diff --git a/wp-content/themes/twentyfifteen/archive.php b/wp-content/themes/twentyfifteen/archive.php
index 7d100c507..26a9a4b4c 100644
--- a/wp-content/themes/twentyfifteen/archive.php
+++ b/wp-content/themes/twentyfifteen/archive.php
@@ -9,7 +9,7 @@
  * new template file for each one. For example, tag.php (Tag archives),
  * category.php (Category archives), author.php (Author archives), etc.
  *
- * @link https://codex.wordpress.org/Template_Hierarchy
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
  * @package WordPress
  * @subpackage Twenty_Fifteen
diff --git a/wp-content/themes/twentyfifteen/content-link.php b/wp-content/themes/twentyfifteen/content-link.php
index f9a319977..023e0d6d3 100644
--- a/wp-content/themes/twentyfifteen/content-link.php
+++ b/wp-content/themes/twentyfifteen/content-link.php
@@ -61,4 +61,4 @@
 	</footer>
 	<!-- .entry-footer -->
 
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/wp-content/themes/twentyfifteen/content-none.php b/wp-content/themes/twentyfifteen/content-none.php
index f1d59be40..cf118d213 100644
--- a/wp-content/themes/twentyfifteen/content-none.php
+++ b/wp-content/themes/twentyfifteen/content-none.php
@@ -2,7 +2,7 @@
 /**
  * The template part for displaying a message that posts cannot be found
  *
- * Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
+ * Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
  *
  * @package WordPress
  * @subpackage Twenty_Fifteen
diff --git a/wp-content/themes/twentyfifteen/content-page.php b/wp-content/themes/twentyfifteen/content-page.php
index 5b9e796c0..9651518e1 100644
--- a/wp-content/themes/twentyfifteen/content-page.php
+++ b/wp-content/themes/twentyfifteen/content-page.php
@@ -36,4 +36,4 @@
 
 	<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
 
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/wp-content/themes/twentyfifteen/content-search.php b/wp-content/themes/twentyfifteen/content-search.php
index 33e2d9930..f8091ce6b 100644
--- a/wp-content/themes/twentyfifteen/content-search.php
+++ b/wp-content/themes/twentyfifteen/content-search.php
@@ -2,7 +2,7 @@
 /**
  * The template part for displaying results in search pages
  *
- * Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
+ * Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
  *
  * @package WordPress
  * @subpackage Twenty_Fifteen
@@ -34,4 +34,4 @@
 
 	<?php endif; ?>
 
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/wp-content/themes/twentyfifteen/content.php b/wp-content/themes/twentyfifteen/content.php
index 1ac377af4..13799fb0b 100644
--- a/wp-content/themes/twentyfifteen/content.php
+++ b/wp-content/themes/twentyfifteen/content.php
@@ -61,4 +61,4 @@
 		<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
 	</footer><!-- .entry-footer -->
 
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/wp-content/themes/twentyfifteen/functions.php b/wp-content/themes/twentyfifteen/functions.php
index 2713ba2cc..db6451f0b 100644
--- a/wp-content/themes/twentyfifteen/functions.php
+++ b/wp-content/themes/twentyfifteen/functions.php
@@ -12,7 +12,7 @@
  * the parent theme's file, so the child theme functions would be used.
  *
  * @link https://codex.wordpress.org/Theme_Development
- * @link https://codex.wordpress.org/Child_Themes
+ * @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
  *
  * Functions that are not pluggable (not wrapped in function_exists()) are
  * instead attached to a filter or action hook.
@@ -75,7 +75,7 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
 		/*
 		 * Enable support for Post Thumbnails on posts and pages.
 		 *
-		 * See: https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
+		 * See: https://developer.wordpress.org/reference/functions/add_theme_support/#post-thumbnails
 		 */
 		add_theme_support( 'post-thumbnails' );
 		set_post_thumbnail_size( 825, 510, true );
diff --git a/wp-content/themes/twentyfifteen/header.php b/wp-content/themes/twentyfifteen/header.php
index dfb281f34..41a1e8df7 100644
--- a/wp-content/themes/twentyfifteen/header.php
+++ b/wp-content/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]-->
@@ -22,6 +22,7 @@
 </head>
 
 <body <?php body_class(); ?>>
+<?php wp_body_open(); ?>
 <div id="page" class="hfeed site">
 	<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyfifteen' ); ?></a>
 
@@ -36,16 +37,16 @@
 						<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
+						<?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
+						<?php
 					endif;
-?>
+					?>
 				<button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button>
 			</div><!-- .site-branding -->
 		</header><!-- .site-header -->
diff --git a/wp-content/themes/twentyfifteen/image.php b/wp-content/themes/twentyfifteen/image.php
index 5afa773f4..3eb25b3fb 100644
--- a/wp-content/themes/twentyfifteen/image.php
+++ b/wp-content/themes/twentyfifteen/image.php
@@ -74,7 +74,7 @@ get_header(); ?>
 						<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
 					</footer><!-- .entry-footer -->
 
-				</article><!-- #post-## -->
+				</article><!-- #post-<?php the_ID(); ?> -->
 
 				<?php
 				// If comments are open or we have at least one comment, load up the comment template
diff --git a/wp-content/themes/twentyfifteen/inc/template-tags.php b/wp-content/themes/twentyfifteen/inc/template-tags.php
index dad54e6cc..6af6e750f 100644
--- a/wp-content/themes/twentyfifteen/inc/template-tags.php
+++ b/wp-content/themes/twentyfifteen/inc/template-tags.php
@@ -209,7 +209,7 @@ if ( ! function_exists( 'twentyfifteen_post_thumbnail' ) ) :
 		?>
 	</a>
 
-	<?php
+		<?php
 	endif; // End is_singular()
 	}
 endif;
@@ -267,3 +267,21 @@ if ( ! function_exists( 'twentyfifteen_the_custom_logo' ) ) :
 		}
 	}
 endif;
+
+if ( ! function_exists( 'wp_body_open' ) ) :
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support pre 5.2.0 WordPress versions.
+	 *
+	 * @since Twenty Fifteen 2.5
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Fifteen 2.5
+		 */
+		do_action( 'wp_body_open' );
+	}
+endif;
diff --git a/wp-content/themes/twentyfifteen/index.php b/wp-content/themes/twentyfifteen/index.php
index 4ad3d3829..4abac6a1b 100644
--- a/wp-content/themes/twentyfifteen/index.php
+++ b/wp-content/themes/twentyfifteen/index.php
@@ -7,7 +7,7 @@
  * It is used to display a page when nothing more specific matches a query.
  * e.g., it puts together the home page when no home.php file exists.
  *
- * Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
+ * Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
  *
  * @package WordPress
  * @subpackage Twenty_Fifteen
diff --git a/wp-content/themes/twentyfifteen/readme.txt b/wp-content/themes/twentyfifteen/readme.txt
index b99ebea56..fd936ad1f 100644
--- a/wp-content/themes/twentyfifteen/readme.txt
+++ b/wp-content/themes/twentyfifteen/readme.txt
@@ -1,8 +1,9 @@
 === Twenty Fifteen ===
-Contributors: the WordPress team
+Contributors: wordpressdotorg
 Requires at least: WordPress 4.1
 Tested up to: WordPress 5.0
-Version: 2.3
+Requires PHP: 5.2.4
+Version: 2.5
 License: GPLv2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
@@ -55,6 +56,16 @@ Source: http://www.genericons.com
 
 == Changelog ==
 
+= 2.5 =
+* Released: May 7, 2019
+
+https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_2.5
+
+= 2.4 =
+* Released: February 21, 2019
+
+https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_2.4
+
 = 2.3 =
 * Released: January 9, 2019
 
diff --git a/wp-content/themes/twentyfifteen/style.css b/wp-content/themes/twentyfifteen/style.css
index 54927c122..4d0d8e79e 100644
--- a/wp-content/themes/twentyfifteen/style.css
+++ b/wp-content/themes/twentyfifteen/style.css
@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfifteen/
 Author: the WordPress team
 Author URI: https://wordpress.org/
 Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.
-Version: 2.3
+Version: 2.5
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
@@ -5962,7 +5962,7 @@ p > video {
 	.page-content,
 	.comments-area,
 	.widecolumn {
-		background: none !important; /* Make sure color schemes dont't affect to print */
+		background: none !important; /* Make sure color schemes don't affect to print */
 	}
 
 	body,
-- 
GitLab