WordPress/wp-content/themes/twentyseventeen
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 Twenty Seventeen: Fixes search block button styling variations. 2024-08-24 12:21:15 +00:00
inc Twenty Seventeen: Fixes front page panels allow pages of any status to be shown. 2024-07-08 10:45:18 +00:00
template-parts Twenty Seventeen: Revert usage of `str_contains()` in theme files. 2024-01-12 19:12:14 +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 Twenty Seventeen: Mark one more screen reader string with a translator comment. 2023-02-24 15:26:18 +00:00
comments.php Twenty Seventeen: Mark one more screen reader string with a translator comment. 2023-02-24 15:26:18 +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
front-page.php Bundled Themes: Improve various globals documentation, as per docblock standards. 2023-03-07 08:30:17 +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
index.php Twenty Seventeen: Mark one more screen reader string with a translator comment. 2023-02-24 15:26:18 +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 Multiple themes: Comments Reply heading and Cancel reply link did not have spacing. 2024-07-16 13:22:15 +00:00
screenshot.png Twenty Seventeen: Optimize theme screenshot. 2024-06-19 10:33:13 +00:00
search.php Twenty Seventeen: Mark one more screen reader string with a translator comment. 2023-02-24 15:26:18 +00:00
searchform.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
sidebar.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
single.php Twenty Seventeen: Mark one more screen reader string with a translator comment. 2023-02-24 15:26:18 +00:00
style.css Multiple themes: Comments Reply heading and Cancel reply link did not have spacing. 2024-07-16 13:22:15 +00:00

readme.txt

=== Twenty Seventeen ===
Contributors: wordpressdotorg
Requires at least: 4.7
Tested up to: 6.6
Requires PHP: 5.2.4
Version: 3.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns

== Description ==

Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.

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

== Installation ==

1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Seventeen 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-seventeen/ for a guide on how to customize this theme.
5. Navigate to Appearance > Customize in your admin panel and customize to taste.

== Copyright ==

Twenty Seventeen WordPress Theme, Copyright 2016-2024 WordPress.org, and contributors.
Twenty Seventeen 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 Seventeen bundles the following third-party resources:

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

jQuery scrollTo, Copyright 2007-2015 Ariel Flesler
License: MIT
Source: https://github.com/flesler/jquery.scrollTo

normalize.css, Copyright 2012-2016 Nicolas Gallagher and Jonathan Neal
License: MIT
Source: https://necolas.github.io/normalize.css/

Font Awesome icons, Copyright Dave Gandy
License: SIL Open Font License, version 1.1.
Source: http://fontawesome.io/

Libre Franklin Font
Copyright 2020 The LibreFranklin Project Authors (https://github.com/impallari/Libre-Franklin)
License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
Source: https://fontsource.org/fonts/libre-franklin

Bundled header image, Copyright Alvin Engler
License: CC0 1.0 Universal (CC0 1.0)
Source: https://unsplash.com/@englr?photo=bIhpiQA009k

Bundled block pattern images, Copyright Solo Shutter
License: CC0 1.0 Universal (CC0 1.0)
Source: https://stocksnap.io/photo/striped-lines-BTNYMDDCBW
        https://stocksnap.io/photo/striped-lines-5XWOPSWPWX

Bundled block pattern image, Copyright Seacoast Sage
License: CC0 1.0 Universal (CC0 1.0)
Source: https://stocksnap.io/photo/striped-fabric-9CBVWF2CDU

== Changelog ==

= 3.7 =
* Released: July 16, 2024

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

= 3.6 =
* Released: April 2, 2024

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

= 3.5 =
* Released: January 16, 2024

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

= 3.4 =
* Released: November 7, 2023

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

= 3.3 =
* Released: August 8, 2023

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

= 3.2 =
* Released: March 28, 2023

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

= 3.1 =
* Released: November 1, 2022

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

= 3.0 =
* Released: May 24, 2022

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

= 2.9 =
* Released: January 25, 2022

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

= 2.8 =
* Released: July 20, 2021

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

= 2.7 =
* Released: April 14, 2021

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

= 2.6 =
* Released: March 9, 2021

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

= 2.5 =
* Released: December 8, 2020

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

= 2.4 =
* Released: August 11, 2020

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

= 2.3 =
* Released: March 31, 2020

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

= 2.2 =
* Released: May 7, 2019

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

= 2.1 =
* Released: February 21, 2019

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

= 2.0 =
* Released: January 9, 2019

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

= 1.9 =
* Released: December 19, 2018

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

= 1.8 =
* Released: December 6, 2018

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

= 1.7 =
* Released: August 2, 2018

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

= 1.6 =
* Released: May 17, 2018

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

= 1.5 =
* Released: April 4, 2018

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

= 1.4 =
* Released: November 14, 2017

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

= 1.3 =
* Released: June 8, 2017

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

= 1.2 =
* Released: April 18, 2017

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

= 1.1 =
* Released: January 6, 2017

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

= 1.0 =
* Released: December 6, 2016

Initial release