WordPress/wp-content/themes/twentytwelve
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
..
css Twenty Twelve: Fixes navigation block submenus being cut off. 2024-08-12 15:19:16 +00:00
fonts Twenty Twelve: Bundle Google Fonts locally. 2023-02-07 17:14:20 +00:00
images Build/Test Tools: Expand "imagemin" Grunt task to cover default themes. 2024-01-22 11:43:18 +00:00
inc Twenty Twelve: Fixes typing errors in block pattern. 2024-04-22 20:19:15 +00:00
js Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
page-templates Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
404.php Code is Poetry. 2017-11-30 23:11:00 +00:00
archive.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
author.php Twenty Twelve: Remove unwanted `title` attributes. 2022-12-01 22:06:13 +00:00
category.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
comments.php Coding Standards: Use strict comparison in bundled themes' PHP files. 2023-02-24 06:23:23 +00:00
content-aside.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
content-image.php Bundled themes: remove `the_title_attribute()` title attributes where it duplicates `the_title()` in anchor text. Props nacin, fixes #24203. 2013-04-29 16:57:30 +00:00
content-link.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
content-none.php Twenty Twelve: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256. 2013-09-20 19:24:09 +00:00
content-page.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
content-quote.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
content-status.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
content.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
editor-style-rtl.css
editor-style.css Multiple themes: Fixes Code block not adjusting to font size changes. 2024-07-27 09:37:10 +00:00
footer.php Coding Standards: Add missing translator comments to the default themes. 2019-07-09 01:10:00 +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 Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:28:26 +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: Add contributors to copyright notices. 2024-08-30 23:09:12 +00:00
rtl.css Bundled Themes: Update calendar widget styles for 5.4 markup. 2020-03-02 16:55:08 +00:00
screenshot.png Bundled themes: new screenshots at 880x660 to maximize theme goodness in the new theme viewer design. See #26159. 2013-12-06 22:07:10 +00:00
search.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
sidebar-front.php Code is Poetry. 2017-11-30 23:11:00 +00:00
sidebar.php Code is Poetry. 2017-11-30 23:11:00 +00:00
single.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
style.css Multiple themes: Fixes Code block not adjusting to font size changes. 2024-07-27 09:37:10 +00:00
tag.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00

readme.txt

=== Twenty Twelve ===
Contributors: wordpressdotorg
Requires at least: 3.5
Tested up to: 6.6
Requires PHP: 5.2.4
Stable tag: 4.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, 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, block-patterns

== Description ==
The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.

For more information about Twenty Twelve please go to https://codex.wordpress.org/Twenty_Twelve.

== Installation ==

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

== Copyright ==

Twenty Twelve WordPress Theme, Copyright 2012-2024 WordPress.org, Automattic Inc., and contributors.
Twenty Twelve 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 Twelve 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

Open Sans Font
Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans)
License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
Source: https://fontsource.org/fonts/open-sans

"Fall Leaf Photo" by Tim Sullivan. CC0. https://stocksnap.io/photo/fall-leaf-ZBK0NLVP2B
"Fall Leaf Photo" by Tim Sullivan. CC0. https://stocksnap.io/photo/fall-leaf-EEGO4GCPQD
"Autumn City Photo" by Oleg Prokopenko. CC0. https://stocksnap.io/photo/autumn-city-PZP8EWR5MR

== Changelog ==

= 4.3 =
* Released: July 16, 2024

https://wordpress.org/documentation/article/twenty-twelve-changelog/#Version_4.3

= 4.2 =
* Released: April 2, 2024

https://wordpress.org/documentation/article/twenty-twelve-changelog/#Version_4.2

= 4.1 =
* Released: November 7, 2023

https://wordpress.org/documentation/article/twenty-twelve-changelog/#Version_4.1

= 4.0 =
* Released: August 8, 2023

https://wordpress.org/documentation/article/twenty-twelve-changelog/#Version_4.0

= 3.9 =
* Released: March 28, 2023

https://wordpress.org/documentation/article/twenty-twelve-changelog/#Version_3.9

= 3.8 =
* Released: November 1, 2022

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

= 3.7 =
* Released: May 24, 2022

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

= 3.6 =
* Released: January 25, 2022

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

= 3.5 =
* Released: July 26, 2021

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

= 3.4 =
* Released: July 20, 2021

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

= 3.3 =
* Released: December 8, 2020

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

= 3.2 =
* Released: August 11, 2020

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

= 3.1 =
* Released: March 31, 2020

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

= 3.0 =
* Released: May 7, 2019

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

= 2.9 =
* Released: February 21, 2019

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

= 2.8 =
* Released: January 9, 2019

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

= 2.7 =
* Released: December 19, 2018

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

= 2.6 =
* Released: December 6, 2018

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

= 2.5 =
* Released: May 17, 2018

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

= 2.4 =
* Released: November 14, 2017

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

= 2.3 =
* Released: June 8, 2017

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

= 2.2 =
* Released: December 6, 2016

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

= 2.1 =
* Released: August 15, 2016

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

= 2.0 =
* Released: April 12, 2016

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

= 1.9 =
* Released: December 8, 2015

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

= 1.8 =
* Released: August 18, 2015

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

= 1.7 =
* Released: April 23, 2015

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

= 1.6 =
* Released: December 18, 2014

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

= 1.5 =
* Released: September 4, 2014

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

= 1.4 =
* Released: May 8, 2014

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

= 1.3 =
* Released: October 24, 2013

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

= 1.2 =
* Released: August 1, 2013

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

= 1.1 =
* Released: December 11, 2012

Initial release.