summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentyfourteen')
-rw-r--r--themes/twentyfourteen/content-aside.php2
-rw-r--r--themes/twentyfourteen/content-audio.php2
-rw-r--r--themes/twentyfourteen/content-featured-post.php2
-rw-r--r--themes/twentyfourteen/content-gallery.php2
-rw-r--r--themes/twentyfourteen/content-image.php2
-rw-r--r--themes/twentyfourteen/content-link.php2
-rw-r--r--themes/twentyfourteen/content-page.php2
-rw-r--r--themes/twentyfourteen/content-quote.php2
-rw-r--r--themes/twentyfourteen/content-video.php2
-rw-r--r--themes/twentyfourteen/content.php2
-rw-r--r--themes/twentyfourteen/functions.php2
-rw-r--r--themes/twentyfourteen/header.php1
-rw-r--r--themes/twentyfourteen/image.php2
-rw-r--r--themes/twentyfourteen/inc/template-tags.php18
-rw-r--r--themes/twentyfourteen/inc/widgets.php2
-rw-r--r--themes/twentyfourteen/page-templates/contributors.php2
-rw-r--r--themes/twentyfourteen/readme.txt10
-rw-r--r--themes/twentyfourteen/style.css2
18 files changed, 42 insertions, 17 deletions
diff --git a/themes/twentyfourteen/content-aside.php b/themes/twentyfourteen/content-aside.php
index 3fd3acda..b180826d 100644
--- a/themes/twentyfourteen/content-aside.php
+++ b/themes/twentyfourteen/content-aside.php
@@ -63,4 +63,4 @@
</div><!-- .entry-content -->
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/content-audio.php b/themes/twentyfourteen/content-audio.php
index 4dba002a..36aa5a9d 100644
--- a/themes/twentyfourteen/content-audio.php
+++ b/themes/twentyfourteen/content-audio.php
@@ -63,4 +63,4 @@
</div><!-- .entry-content -->
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/content-featured-post.php b/themes/twentyfourteen/content-featured-post.php
index d5a16fef..707b9570 100644
--- a/themes/twentyfourteen/content-featured-post.php
+++ b/themes/twentyfourteen/content-featured-post.php
@@ -31,4 +31,4 @@
<?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?>
</header><!-- .entry-header -->
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/content-gallery.php b/themes/twentyfourteen/content-gallery.php
index 9ecdfbf9..2f793a8e 100644
--- a/themes/twentyfourteen/content-gallery.php
+++ b/themes/twentyfourteen/content-gallery.php
@@ -63,4 +63,4 @@
</div><!-- .entry-content -->
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/content-image.php b/themes/twentyfourteen/content-image.php
index 911ef239..5e58bf00 100644
--- a/themes/twentyfourteen/content-image.php
+++ b/themes/twentyfourteen/content-image.php
@@ -63,4 +63,4 @@
</div><!-- .entry-content -->
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/content-link.php b/themes/twentyfourteen/content-link.php
index 9ad08102..d4c7c8bd 100644
--- a/themes/twentyfourteen/content-link.php
+++ b/themes/twentyfourteen/content-link.php
@@ -63,4 +63,4 @@
</div><!-- .entry-content -->
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/content-page.php b/themes/twentyfourteen/content-page.php
index ca8ebd9b..5a42117e 100644
--- a/themes/twentyfourteen/content-page.php
+++ b/themes/twentyfourteen/content-page.php
@@ -30,4 +30,4 @@
edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
?>
</div><!-- .entry-content -->
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/content-quote.php b/themes/twentyfourteen/content-quote.php
index 70319087..29e6ec37 100644
--- a/themes/twentyfourteen/content-quote.php
+++ b/themes/twentyfourteen/content-quote.php
@@ -63,4 +63,4 @@
</div><!-- .entry-content -->
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/content-video.php b/themes/twentyfourteen/content-video.php
index c13d6700..1c1a0efb 100644
--- a/themes/twentyfourteen/content-video.php
+++ b/themes/twentyfourteen/content-video.php
@@ -63,4 +63,4 @@
</div><!-- .entry-content -->
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/content.php b/themes/twentyfourteen/content.php
index 367cf337..bf053633 100644
--- a/themes/twentyfourteen/content.php
+++ b/themes/twentyfourteen/content.php
@@ -73,4 +73,4 @@
<?php endif; ?>
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
-</article><!-- #post-## -->
+</article><!-- #post-<?php the_ID(); ?> -->
diff --git a/themes/twentyfourteen/functions.php b/themes/twentyfourteen/functions.php
index e705a546..c017dac6 100644
--- a/themes/twentyfourteen/functions.php
+++ b/themes/twentyfourteen/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.
diff --git a/themes/twentyfourteen/header.php b/themes/twentyfourteen/header.php
index 1de76b34..88071ec9 100644
--- a/themes/twentyfourteen/header.php
+++ b/themes/twentyfourteen/header.php
@@ -31,6 +31,7 @@
</head>
<body <?php body_class(); ?>>
+<?php wp_body_open(); ?>
<div id="page" class="hfeed site">
<?php if ( get_header_image() ) : ?>
<div id="site-header">
diff --git a/themes/twentyfourteen/image.php b/themes/twentyfourteen/image.php
index f0af8b83..eb4a1658 100644
--- a/themes/twentyfourteen/image.php
+++ b/themes/twentyfourteen/image.php
@@ -61,7 +61,7 @@ get_header();
);
?>
</div><!-- .entry-content -->
- </article><!-- #post-## -->
+ </article><!-- #post-<?php the_ID(); ?> -->
<nav id="image-navigation" class="navigation image-navigation">
<div class="nav-links">
diff --git a/themes/twentyfourteen/inc/template-tags.php b/themes/twentyfourteen/inc/template-tags.php
index 15003864..f1e95294 100644
--- a/themes/twentyfourteen/inc/template-tags.php
+++ b/themes/twentyfourteen/inc/template-tags.php
@@ -232,3 +232,21 @@ if ( ! function_exists( 'twentyfourteen_excerpt_more' ) && ! is_admin() ) :
}
add_filter( 'excerpt_more', 'twentyfourteen_excerpt_more' );
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 Fourteen 2.7
+ */
+ function wp_body_open() {
+ /**
+ * Triggered after the opening <body> tag.
+ *
+ * @since Twenty Fourteen 2.7
+ */
+ do_action( 'wp_body_open' );
+ }
+endif;
diff --git a/themes/twentyfourteen/inc/widgets.php b/themes/twentyfourteen/inc/widgets.php
index 7ddabec3..0b99fe2a 100644
--- a/themes/twentyfourteen/inc/widgets.php
+++ b/themes/twentyfourteen/inc/widgets.php
@@ -226,7 +226,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
<?php endif; ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
- </article><!-- #post-## -->
+ </article><!-- #post-<?php the_ID(); ?> -->
</li>
<?php endwhile; ?>
diff --git a/themes/twentyfourteen/page-templates/contributors.php b/themes/twentyfourteen/page-templates/contributors.php
index 6b1d19db..635a259c 100644
--- a/themes/twentyfourteen/page-templates/contributors.php
+++ b/themes/twentyfourteen/page-templates/contributors.php
@@ -35,7 +35,7 @@ if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
edit_post_link( __( 'Edit', 'twentyfourteen' ), '<footer class="entry-meta"><span class="edit-link">', '</span></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/twentyfourteen/readme.txt b/themes/twentyfourteen/readme.txt
index 6f1010d2..412c23dc 100644
--- a/themes/twentyfourteen/readme.txt
+++ b/themes/twentyfourteen/readme.txt
@@ -1,8 +1,9 @@
=== Twenty Fourteen ===
-Contributors: the WordPress team
+Contributors: wordpressdotorg
Requires at least: WordPress 3.6
Tested up to: WordPress 5.0
-Stable tag: 2.6
+Requires PHP: 5.2.4
+Stable tag: 2.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
@@ -50,6 +51,11 @@ Source: http://www.genericons.com
== Changelog ==
+= 2.7 =
+* Released: May 7, 2019
+
+https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.7
+
= 2.6 =
* Released: February 21, 2019
diff --git a/themes/twentyfourteen/style.css b/themes/twentyfourteen/style.css
index 94ce71b3..85133472 100644
--- a/themes/twentyfourteen/style.css
+++ b/themes/twentyfourteen/style.css
@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfourteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier.
-Version: 2.6
+Version: 2.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready