WordPress/wp-content/themes/twentyfifteen
Peter Wilson 3c5699206b Bundled Themes: Avoid loading translations too early.
Load block patterns for bundled themes on the `init` hook to avoid triggering notices caused by loading the translations too early.

The change is applied to Twenty Ten, Twenty Twelve, Twenty Thirteen, Twenty Fourteen, Twenty Fifteen, Twenty Sixteen and Twenty Twenty.

Props domainsupport, swissspidy.
Fixes #62237.
See #44937.

Built from https://develop.svn.wordpress.org/trunk@59244


git-svn-id: http://core.svn.wordpress.org/trunk@58636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-17 00:37:17 +00:00
..
assets Build/Test Tools: Expand "imagemin" Grunt task to cover default themes. 2024-01-22 11:43:18 +00:00
css Twenty Fifteen: Fixes hover effect being different in editors for link. 2024-08-18 09:30:12 +00:00
genericons General: Use correct value for the `speak` property in various CSS files. 2020-10-26 02:25:09 +00:00
inc Twenty Fifteen: Document the `$more` parameter in `twentyfifteen_excerpt_more()`. 2024-09-28 15:09:17 +00:00
js Twenty Fifteen: Reintroduce HTML5 Shiv. 2023-07-06 08:18:24 +00:00
404.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
archive.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
author-bio.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
comments.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
content-link.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
content-none.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
content-page.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
content-search.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
content.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +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: Avoid loading translations too early. 2024-10-17 00:37:17 +00:00
header.php Bundled Themes: Add missing `initial-scale` value in viewport meta tag. 2024-09-16 22:18:35 +00:00
image.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
index.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
page.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
readme.txt Bundled Themes: Add contributors to copyright notices. 2024-08-30 23:09:12 +00:00
rtl.css Comments: Move comment consent `input` outside the `label` for a11y. 2018-05-02 22:00:49 +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 I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
sidebar.php General: Remove role="navigation" from nav elements. 2021-11-01 21:47:13 +00:00
single.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
style.css Bundled Themes: Bump default theme versions for release with 6.6. 2024-07-15 13:59:16 +00:00

readme.txt

=== Twenty Fifteen ===
Contributors: wordpressdotorg
Requires at least: 4.1
Tested up to: 6.6
Requires PHP: 5.2.4
Version: 3.8
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, block-patterns

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

* Mobile-first, Responsive Layout
* Custom Colors
* Custom Header
* Social Links
* Menu Description
* Post Formats
* The GPL v2.0 or later license. :) Use it to make something cool.

For more information about Twenty Fifteen please go to https://wordpress.org/documentation/article/twenty-fifteen/.

== Installation ==

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

== Copyright ==

Twenty Fifteen WordPress Theme, Copyright 2014-2024 WordPress.org, Automattic Inc., and contributors.
Twenty Fifteen 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 Fifteen 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 Inc.
License: GNU GPL, Version 2 (or later)
Source: http://www.genericons.com

Noto Sans Font
Copyright 2015-2021 Google LLC. All Rights Reserved.
License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
Source: https://fontsource.org/fonts/noto-sans

Noto Serif Font
Copyright 2012 Google Inc. All Rights Reserved.
License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
Source: https://fontsource.org/fonts/noto-serif

Inconsolata Font
Copyright 2006 The Inconsolata Project Authors (https://github.com/cyrealtype/Inconsolata)
License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
Source: https://fontsource.org/fonts/inconsolata

Block Pattern Images
License: CC0
Source: https://stocksnap.io/photo/purple-yellow-ACF0693B9C
        https://stocksnap.io/photo/sky-sunset-BE7A7709D0
        https://stocksnap.io/photo/sunset-pier-77F43EA43C

== Changelog ==

= 3.8 =
* Released: July 16, 2024

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_3.8

= 3.7 =
* Released: April 2, 2024

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_3.7

= 3.6 =
* Released: November 7, 2023

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_3.6

= 3.5 =
* Released: August 8, 2023

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_3.5

= 3.4 =
* Released: March 28, 2023

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_3.4

= 3.3 =
* Released: November 1, 2022

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_3.3

= 3.2 =
* Released: May 24, 2022

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_3.2

= 3.1 =
* Released: January 25, 2022

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_3.1

= 3.0 =
* Released: July 20, 2021

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_3.0

= 2.9 =
* Released: March 9, 2021

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.9

= 2.8 =
* Released: December 8, 2020

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.8

= 2.7 =
* Released: August 11, 2020

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.7

= 2.6 =
* Released: March 31, 2020

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.6

= 2.5 =
* Released: May 7, 2019

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.5

= 2.4 =
* Released: February 21, 2019

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.4

= 2.3 =
* Released: January 9, 2019

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.3

= 2.2 =
* Released: December 19, 2018

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.2

= 2.1 =
* Released: December 6, 2018

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.1

= 2.0 =
* Released: May 17, 2018

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_2.0

= 1.9 =
* Released: November 14, 2017

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_1.9

= 1.8 =
* Released: June 8, 2017

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_1.8

= 1.7 =
* Released: December 6, 2016

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_1.7

= 1.6 =
* Released: August 15, 2016

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_1.6

= 1.5 =
* Released: April 12, 2016

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_1.5

= 1.4 =
* Released: December 8, 2015

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_1.4

= 1.3 =
* Released: August 18, 2015

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_1.3

= 1.2 =
* Released: May 6, 2015

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_1.2

= 1.1 =
* Released: April 23, 2015

https://wordpress.org/documentation/article/twenty-fifteen-changelog/#Version_1.1

= 1.0 =
* Released: December 18, 2014

Initial release