From 94818bdbdeaa987743df5a4c3ca8f151ea42a7a4 Mon Sep 17 00:00:00 2001
From: samba <samba@autistici.org>
Date: Sun, 19 May 2019 22:13:03 +0200
Subject: [PATCH] [auto] theme: twentysixteen 2.0

---
 wp-content/themes/twentysixteen/functions.php  |  4 ++--
 wp-content/themes/twentysixteen/header.php     |  1 +
 wp-content/themes/twentysixteen/image.php      |  2 +-
 .../themes/twentysixteen/inc/template-tags.php | 18 ++++++++++++++++++
 wp-content/themes/twentysixteen/readme.txt     | 10 ++++++++--
 wp-content/themes/twentysixteen/style.css      |  2 +-
 .../template-parts/content-page.php            |  2 +-
 .../template-parts/content-search.php          |  2 +-
 .../template-parts/content-single.php          |  2 +-
 .../twentysixteen/template-parts/content.php   |  2 +-
 10 files changed, 35 insertions(+), 10 deletions(-)

diff --git a/wp-content/themes/twentysixteen/functions.php b/wp-content/themes/twentysixteen/functions.php
index 2c47a2d28..68e4a5ef0 100644
--- a/wp-content/themes/twentysixteen/functions.php
+++ b/wp-content/themes/twentysixteen/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.
@@ -81,7 +81,7 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) :
 		/*
 		 * Enable support for Post Thumbnails on posts and pages.
 		 *
-		 * @link https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
+		 * @link https://developer.wordpress.org/reference/functions/add_theme_support/#post-thumbnails
 		 */
 		add_theme_support( 'post-thumbnails' );
 		set_post_thumbnail_size( 1200, 9999 );
diff --git a/wp-content/themes/twentysixteen/header.php b/wp-content/themes/twentysixteen/header.php
index f264ac2cd..a5cfee6a4 100644
--- a/wp-content/themes/twentysixteen/header.php
+++ b/wp-content/themes/twentysixteen/header.php
@@ -22,6 +22,7 @@
 </head>
 
 <body <?php body_class(); ?>>
+<?php wp_body_open(); ?>
 <div id="page" class="site">
 	<div class="site-inner">
 		<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentysixteen' ); ?></a>
diff --git a/wp-content/themes/twentysixteen/image.php b/wp-content/themes/twentysixteen/image.php
index 5fcbb9015..ea64a1460 100644
--- a/wp-content/themes/twentysixteen/image.php
+++ b/wp-content/themes/twentysixteen/image.php
@@ -93,7 +93,7 @@ get_header(); ?>
 						);
 						?>
 					</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/twentysixteen/inc/template-tags.php b/wp-content/themes/twentysixteen/inc/template-tags.php
index caeed1c5a..55578bead 100644
--- a/wp-content/themes/twentysixteen/inc/template-tags.php
+++ b/wp-content/themes/twentysixteen/inc/template-tags.php
@@ -264,3 +264,21 @@ if ( ! function_exists( 'twentysixteen_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 Sixteen 2.0
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Sixteen 2.0
+		 */
+		do_action( 'wp_body_open' );
+	}
+endif;
diff --git a/wp-content/themes/twentysixteen/readme.txt b/wp-content/themes/twentysixteen/readme.txt
index dcc289055..24b3428c5 100644
--- a/wp-content/themes/twentysixteen/readme.txt
+++ b/wp-content/themes/twentysixteen/readme.txt
@@ -1,8 +1,9 @@
 === Twenty Sixteen ===
-Contributors: the WordPress team
+Contributors: wordpressdotorg
 Requires at least: WordPress 4.4
 Tested up to: WordPress 5.0
-Version: 1.9
+Requires PHP: 5.2.4
+Version: 2.0
 License: GPLv2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
@@ -56,6 +57,11 @@ Image used in screenshot.png: A photo by Austin Schmid (https://unsplash.com/sch
 
 == Changelog ==
 
+= 2.0 =
+* Released: May 7, 2019
+
+https://codex.wordpress.org/Twenty_Sixteen_Theme_Changelog#Version_2.0
+
 = 1.9 =
 * Released: February 21, 2019
 
diff --git a/wp-content/themes/twentysixteen/style.css b/wp-content/themes/twentysixteen/style.css
index 90c8b4c41..ab7e95da2 100644
--- a/wp-content/themes/twentysixteen/style.css
+++ b/wp-content/themes/twentysixteen/style.css
@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentysixteen/
 Author: the WordPress team
 Author URI: https://wordpress.org/
 Description: Twenty Sixteen is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
-Version: 1.9
+Version: 2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
diff --git a/wp-content/themes/twentysixteen/template-parts/content-page.php b/wp-content/themes/twentysixteen/template-parts/content-page.php
index d1ee87c62..689972c0c 100644
--- a/wp-content/themes/twentysixteen/template-parts/content-page.php
+++ b/wp-content/themes/twentysixteen/template-parts/content-page.php
@@ -44,4 +44,4 @@
 		);
 		?>
 
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/wp-content/themes/twentysixteen/template-parts/content-search.php b/wp-content/themes/twentysixteen/template-parts/content-search.php
index c4667c6be..7d587f65a 100644
--- a/wp-content/themes/twentysixteen/template-parts/content-search.php
+++ b/wp-content/themes/twentysixteen/template-parts/content-search.php
@@ -49,5 +49,5 @@
 		?>
 
 	<?php endif; ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
 
diff --git a/wp-content/themes/twentysixteen/template-parts/content-single.php b/wp-content/themes/twentysixteen/template-parts/content-single.php
index d1061b27d..23e18373d 100644
--- a/wp-content/themes/twentysixteen/template-parts/content-single.php
+++ b/wp-content/themes/twentysixteen/template-parts/content-single.php
@@ -52,4 +52,4 @@
 			);
 			?>
 	</footer><!-- .entry-footer -->
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/wp-content/themes/twentysixteen/template-parts/content.php b/wp-content/themes/twentysixteen/template-parts/content.php
index cf88417f9..03b4cfb6c 100644
--- a/wp-content/themes/twentysixteen/template-parts/content.php
+++ b/wp-content/themes/twentysixteen/template-parts/content.php
@@ -58,4 +58,4 @@
 			);
 			?>
 	</footer><!-- .entry-footer -->
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
-- 
GitLab