summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2019-05-22 00:42:33 -0400
committerYury German <blueknight@gentoo.org>2019-05-22 00:42:33 -0400
commite89abce1b01dda89efdf230101d1aa3c877b3b6c (patch)
treecfb27a564c1f4cfff30d18dbf591efd48283b154 /themes/twentyfifteen
parentAdding Twentyninetten (diff)
downloadblogs-gentoo-e89abce1b01dda89efdf230101d1aa3c877b3b6c.tar.gz
blogs-gentoo-e89abce1b01dda89efdf230101d1aa3c877b3b6c.tar.bz2
blogs-gentoo-e89abce1b01dda89efdf230101d1aa3c877b3b6c.zip
Updating of Plugins and Themes
List of Plugins updates -- akismet.4.1.2 google-authenticator.0.52 jetpack.7.3.1 List of Themes Updates -- mantra.3.2.0 twentyfifteen.2.5 twentyfourteen.2.7 Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'themes/twentyfifteen')
-rw-r--r--themes/twentyfifteen/content-link.php2
-rw-r--r--themes/twentyfifteen/content-page.php2
-rw-r--r--themes/twentyfifteen/content-search.php2
-rw-r--r--themes/twentyfifteen/content.php2
-rw-r--r--themes/twentyfifteen/functions.php4
-rw-r--r--themes/twentyfifteen/header.php1
-rw-r--r--themes/twentyfifteen/image.php2
-rw-r--r--themes/twentyfifteen/inc/template-tags.php18
-rw-r--r--themes/twentyfifteen/readme.txt10
-rw-r--r--themes/twentyfifteen/style.css4
10 files changed, 36 insertions, 11 deletions
diff --git a/themes/twentyfifteen/content-link.php b/themes/twentyfifteen/content-link.php
index f9a31997..023e0d6d 100644
--- a/themes/twentyfifteen/content-link.php
+++ b/themes/twentyfifteen/content-link.php
@@ -61,4 +61,4 @@
</footer>
<!-- .entry-footer -->
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfifteen/content-page.php b/themes/twentyfifteen/content-page.php
index 5b9e796c..9651518e 100644
--- a/themes/twentyfifteen/content-page.php
+++ b/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/themes/twentyfifteen/content-search.php b/themes/twentyfifteen/content-search.php
index faa79f50..f8091ce6 100644
--- a/themes/twentyfifteen/content-search.php
+++ b/themes/twentyfifteen/content-search.php
@@ -34,4 +34,4 @@
<?php endif; ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfifteen/content.php b/themes/twentyfifteen/content.php
index 1ac377af..13799fb0 100644
--- a/themes/twentyfifteen/content.php
+++ b/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/themes/twentyfifteen/functions.php b/themes/twentyfifteen/functions.php
index 2713ba2c..db6451f0 100644
--- a/themes/twentyfifteen/functions.php
+++ b/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/themes/twentyfifteen/header.php b/themes/twentyfifteen/header.php
index 63b04377..41a1e8df 100644
--- a/themes/twentyfifteen/header.php
+++ b/themes/twentyfifteen/header.php
@@ -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>
diff --git a/themes/twentyfifteen/image.php b/themes/twentyfifteen/image.php
index 5afa773f..3eb25b3f 100644
--- a/themes/twentyfifteen/image.php
+++ b/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/themes/twentyfifteen/inc/template-tags.php b/themes/twentyfifteen/inc/template-tags.php
index 056d1941..6af6e750 100644
--- a/themes/twentyfifteen/inc/template-tags.php
+++ b/themes/twentyfifteen/inc/template-tags.php
@@ -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/themes/twentyfifteen/readme.txt b/themes/twentyfifteen/readme.txt
index a28aa0cf..fd936ad1 100644
--- a/themes/twentyfifteen/readme.txt
+++ b/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.4
+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,11 @@ 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
diff --git a/themes/twentyfifteen/style.css b/themes/twentyfifteen/style.css
index 49631ce0..4d0d8e79 100644
--- a/themes/twentyfifteen/style.css
+++ b/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.4
+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,