WordPress/wp-content/themes/twentyfourteen
spacedmonkey f19df46584 Bundled Theme: Implement the_header_image_tag function for enhanced compatibility for older core themes.
The `the_header_image_tag` function was introduced in WordPress 4.4 as part of [35594]. It is used in all themes created post WordPress 4.4 that supported header images. The function `get_header_image_tag` continues to get updated with new image features, like lazy loading, async decoding and fetch priority. To ensure our core themes maintain compatibility and benefit from these enhancements, a backward compatibility shim has been applied, integrating the `the_header_image_tag` function into the following core themes:

- Twenty Ten
- Twenty Eleven
- Twenty Twelve
- Twenty Fourteen
- Twenty Sixteen

This change ensures future compatibility and modern image features are applied for header images to these older themes. 

Props spacedmonkey, flixos90, mukesh27.
Fixes #58675.
Built from https://develop.svn.wordpress.org/trunk@56583


git-svn-id: http://core.svn.wordpress.org/trunk@56095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-14 11:25:19 +00:00
..
css Twenty Fourteen: Fix text color issue on Button block hover. 2023-06-30 08:56:27 +00:00
fonts Twenty Fourteen: Bundle Google Fonts locally. 2023-02-07 15:59:23 +00:00
genericons Bundled Themes: Remove Genericons example.html files. 2015-05-06 19:27:26 +00:00
images Bundled Themes: Introduce block patterns for Twenty Fourteen. 2021-05-28 18:17:59 +00:00
inc Bundled Theme: Implement the_header_image_tag function for enhanced compatibility for older core themes. 2023-09-14 11:25:19 +00:00
js Bundled Themes: Remove/disable obsolete IE-specific skip-link-focus-fix. 2023-05-26 17:25:23 +00:00
page-templates Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
404.php Twenty Fourteen: string cleanup, see #26437. 2013-12-05 17:55:10 +00:00
archive.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
author.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
category.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
comments.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
content-aside.php Bundled Themes: Note visually hidden text for translators. 2022-04-29 05:03:11 +00:00
content-audio.php Bundled Themes: Note visually hidden text for translators. 2022-04-29 05:03:11 +00:00
content-featured-post.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
content-gallery.php Bundled Themes: Note visually hidden text for translators. 2022-04-29 05:03:11 +00:00
content-image.php Bundled Themes: Note visually hidden text for translators. 2022-04-29 05:03:11 +00:00
content-link.php Bundled Themes: Note visually hidden text for translators. 2022-04-29 05:03:11 +00:00
content-none.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
content-page.php Bundled Themes: Use consistent HTML comments after closing HTML tags. 2019-04-16 01:30:53 +00:00
content-quote.php Bundled Themes: Note visually hidden text for translators. 2022-04-29 05:03:11 +00:00
content-video.php Bundled Themes: Note visually hidden text for translators. 2022-04-29 05:03:11 +00:00
content.php Bundled Themes: Note visually hidden text for translators. 2022-04-29 05:03:11 +00:00
featured-content.php Code is Poetry. 2017-11-30 23:11:00 +00:00
footer.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
functions.php Bundled Themes: Use `defer` loading strategy for theme scripts. 2023-09-12 00:06:19 +00:00
header.php Bundled Theme: Implement the_header_image_tag function for enhanced compatibility for older core themes. 2023-09-14 11:25:19 +00:00
image.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
index.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
page.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
readme.txt Bundled Themes: Bump version numbers for WordPress 6.3. 2023-07-26 22:09:22 +00:00
rtl.css Toolbar: Prevent adminbar from hiding in-page anchors. 2021-11-17 17:20:00 +00:00
screenshot.png Twenty Thirteen, Twenty Fourteen, Twenty Fifteen: Update screenshots to 1200 x 900 2016-03-18 17:01:29 +00:00
search.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
sidebar-content.php Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093. 2013-11-18 23:11:10 +00:00
sidebar-footer.php Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093. 2013-11-18 23:11:10 +00:00
sidebar.php General: Remove role="navigation" from nav elements. 2021-11-01 21:47:13 +00:00
single.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
style.css Bundled Themes: Bump version numbers for WordPress 6.3. 2023-07-26 22:09:22 +00:00
tag.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
taxonomy-post_format.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00

readme.txt

=== Twenty Fourteen ===
Contributors: wordpressdotorg
Requires at least: 3.6
Tested up to: 6.3
Requires PHP: 5.2.4
Stable tag: 3.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, block-patterns

== 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.

For more information about Twenty Fourteen please go to https://codex.wordpress.org/Twenty_Fourteen.

== Installation ==

1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Fourteen in the search form and press the 'Enter' key in your keyboard.
3. Click on the 'Activate' button to use your new theme right away.
4. Go to https://codex.wordpress.org/Twenty_Fourteen for a guide to customize this theme.
5. Navigate to Appearance > Customize in your admin panel.

== Copyright ==

Twenty Fourteen WordPress Theme, Copyright 2013-2023 WordPress.org & Automattic.com
Twenty Fourteen is Distributed under the terms of the GNU GPL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Twenty Fourteen Theme is derived from the Further Theme, Copyright 2013 Takashi Irie
Further Theme is distributed under the terms of the GNU GPL

Twenty Fourteen Theme bundles the following third-party resources:

HTML5 Shiv v3.7.0, Copyright 2014 Alexander Farkas
Licenses: MIT/GPL2
Source: https://github.com/aFarkas/html5shiv

Genericons icon font, Copyright 2013-2017 Automattic.com
License: GNU GPL, Version 2 (or later)
Source: http://www.genericons.com

Lato Font
Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato".
License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
Source: https://fontsource.org/fonts/lato

Photos from Stocksnap, used in block patterns.
License: CC0
Source: https://stocksnap.io/photo/fog-mountain-ZKN6UKFKEO
        https://stocksnap.io/photo/ocean-beach-AEZJXB5LL5
        https://stocksnap.io/photo/architecture-building-BIL5D73PRC
        https://stocksnap.io/photo/sea-ocean-G5GBM522C6
        https://stocksnap.io/photo/guy-man-7CFLDIWXK5

== Changelog ==

= 3.7 =
* Released: August 8, 2023

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_3.7

= 3.6 =
* Released: March 28, 2023

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_3.6

= 3.5 =
* Released: November 1, 2022

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_3.5

= 3.4 =
* Released: May 24, 2022

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_3.4

= 3.3 =
* Released: January 25, 2022

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_3.3

= 3.2 =
* Released: July 20, 2021

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_3.2

= 3.1 =
* Released: March 9, 2021

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_3.1

= 3.0 =
* Released: December 8, 2020

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_3.0

= 2.9 =
* Released: August 11, 2020

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.9

= 2.8 =
* Released: March 31, 2020

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.8

= 2.7 =
* Released: May 7, 2019

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.7

= 2.6 =
* Released: February 21, 2019

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.6

= 2.5 =
* Released: January 9, 2019

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.5

= 2.4 =
* Released: December 19, 2018

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.4

= 2.3 =
* Released: December 6, 2018

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.3

= 2.2 =
* Released: May 17, 2018

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.2

= 2.1 =
* Released: November 14, 2017

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.1

= 2.0 =
* Released: June 8, 2017

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.0

= 1.9 =
* Released: December 6, 2016

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.9

= 1.8 =
* Released: August 15, 2016

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.8

= 1.7 =
* Released: April 12, 2016

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.7

= 1.6 =
* Released: December 8, 2015

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.6

= 1.5 =
* Released: August 18, 2015

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.5

= 1.4 =
* Released: April 23, 2015

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.4

= 1.3 =
* Released: December 18, 2014

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.3

= 1.2 =
* Released: September 4, 2014

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.2

= 1.1 =
* Released: May 8, 2014

https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.1

= 1.0 =
* Released: December 12, 2013

Initial release.