public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yury German" <blueknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/blogs-gentoo:master commit in: themes/twentysixteen/, themes/twentysixteen/template-parts/, ...
Date: Wed, 22 May 2019 05:12:43 +0000 (UTC)	[thread overview]
Message-ID: <1558501897.fcb506212cbea55b2bd080eb918d42fb4781bfef.blueknight@gentoo> (raw)

commit:     fcb506212cbea55b2bd080eb918d42fb4781bfef
Author:     Yury German <blueknight <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 05:11:37 2019 +0000
Commit:     Yury German <blueknight <AT> gentoo <DOT> org>
CommitDate: Wed May 22 05:11:37 2019 +0000
URL:        https://gitweb.gentoo.org/proj/blogs-gentoo.git/commit/?id=fcb50621

Updating Theme twentysixteen

twentysixteen.2.0

Signed-off-by: Yury German <blueknight <AT> gentoo.org>

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

diff --git a/themes/twentysixteen/functions.php b/themes/twentysixteen/functions.php
index 2c47a2d2..68e4a5ef 100644
--- a/themes/twentysixteen/functions.php
+++ b/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/themes/twentysixteen/header.php b/themes/twentysixteen/header.php
index f264ac2c..a5cfee6a 100644
--- a/themes/twentysixteen/header.php
+++ b/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/themes/twentysixteen/image.php b/themes/twentysixteen/image.php
index 5fcbb901..ea64a146 100644
--- a/themes/twentysixteen/image.php
+++ b/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/themes/twentysixteen/inc/template-tags.php b/themes/twentysixteen/inc/template-tags.php
index caeed1c5..55578bea 100644
--- a/themes/twentysixteen/inc/template-tags.php
+++ b/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/themes/twentysixteen/readme.txt b/themes/twentysixteen/readme.txt
index dcc28905..24b3428c 100644
--- a/themes/twentysixteen/readme.txt
+++ b/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/themes/twentysixteen/style.css b/themes/twentysixteen/style.css
index 90c8b4c4..ab7e95da 100644
--- a/themes/twentysixteen/style.css
+++ b/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/themes/twentysixteen/template-parts/content-page.php b/themes/twentysixteen/template-parts/content-page.php
index d1ee87c6..689972c0 100644
--- a/themes/twentysixteen/template-parts/content-page.php
+++ b/themes/twentysixteen/template-parts/content-page.php
@@ -44,4 +44,4 @@
 		);
 		?>
 
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->

diff --git a/themes/twentysixteen/template-parts/content-search.php b/themes/twentysixteen/template-parts/content-search.php
index c4667c6b..7d587f65 100644
--- a/themes/twentysixteen/template-parts/content-search.php
+++ b/themes/twentysixteen/template-parts/content-search.php
@@ -49,5 +49,5 @@
 		?>
 
 	<?php endif; ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
 

diff --git a/themes/twentysixteen/template-parts/content-single.php b/themes/twentysixteen/template-parts/content-single.php
index d1061b27..23e18373 100644
--- a/themes/twentysixteen/template-parts/content-single.php
+++ b/themes/twentysixteen/template-parts/content-single.php
@@ -52,4 +52,4 @@
 			);
 			?>
 	</footer><!-- .entry-footer -->
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->

diff --git a/themes/twentysixteen/template-parts/content.php b/themes/twentysixteen/template-parts/content.php
index cf88417f..03b4cfb6 100644
--- a/themes/twentysixteen/template-parts/content.php
+++ b/themes/twentysixteen/template-parts/content.php
@@ -58,4 +58,4 @@
 			);
 			?>
 	</footer><!-- .entry-footer -->
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->


             reply	other threads:[~2019-05-22  5:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-22  5:12 Yury German [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-06-08 14:14 [gentoo-commits] proj/blogs-gentoo:master commit in: themes/twentysixteen/, themes/twentysixteen/template-parts/, Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1558501897.fcb506212cbea55b2bd080eb918d42fb4781bfef.blueknight@gentoo \
    --to=blueknight@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox