Commit cfe901f3 authored by samba's avatar samba

[auto] theme: twentyfifteen 2.5

parent 60dcf56e
......@@ -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
......
......@@ -61,4 +61,4 @@
</footer>
<!-- .entry-footer -->
</article><!-- #post-## -->
</article><!-- #post-<?php the_ID(); ?> -->
......@@ -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
......
......@@ -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(); ?> -->
......@@ -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(); ?> -->
......@@ -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(); ?> -->
......@@ -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 );
......
......@@ -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 -->
......
......@@ -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
......
......@@ -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;
......@@ -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
......
=== 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
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment