WordPress/wp-content/themes/twentyeleven
Felix Arntz 615996176a Bundled Theme: Update default themes to use new script function signature.
In WordPress 6.3, the last parameter of `wp_register_script()` and `wp_enqueue_script()` was changed to an array rather than a boolean. While a boolean is still supported for backward compatibility, it makes sense to update the codebase to use the new signature.

The updates are fully backward compatible:
* In places where `true` was provided, `array( 'in_footer' => true )` will still be interpreted as a boolean true in WordPress versions prior to 6.3.
* In places where `false` was provided, the parameter is omitted which will work correctly throughout all WordPress versions given that is and has been the default value anyway.

Props mrinal013, huzaifaalmesbah, niravsherasiya7707, joemcgill.
Fixes #59302.
See #58634.

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


git-svn-id: http://core.svn.wordpress.org/trunk@56038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-06 21:23:20 +00:00
..
colors Twenty Eleven: Correct `linear-gradient` direction argument syntax. 2019-04-04 18:26:52 +00:00
images Bundled Themes: Introduce block patterns for Twenty Eleven. 2021-06-08 18:03:59 +00:00
inc Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-11-30 17:18:01 +00:00
languages Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
404.php I18N: Use consistent pattern for placeholder references in translator comments for some bundled theme strings. 2021-06-15 15:38:57 +00:00
archive.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
author.php Twenty Eleven: Remove useless `title` attributes. 2022-11-26 22:39:10 +00:00
blocks.css Bundled Themes: Fix Separator block "Dots" style variation on various themes. 2023-01-22 20:07:12 +00:00
category.php Twenty Eleven: Correct inline translator comment. 2022-08-11 13:06:09 +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 Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +00:00
content-featured.php i18n: Define List item separator as a WP_Locale property. 2022-03-13 20:03:01 +00:00
content-gallery.php Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +00:00
content-image.php Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +00:00
content-intro.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
content-link.php Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +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: Define List item separator as a WP_Locale property. 2022-03-13 20:03:01 +00:00
content-single.php i18n: Define List item separator as a WP_Locale property. 2022-03-13 20:03:01 +00:00
content-status.php Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +00:00
content.php i18n: Define List item separator as a WP_Locale property. 2022-03-13 20:03:01 +00:00
editor-blocks.css Twenty Eleven: Improve text color consistency of Table Block heading cells and figcaption. 2022-09-27 21:55:11 +00:00
editor-style-rtl.css
editor-style.css Twenty Elevent: Captioned image fix for editor 2016-03-10 21:13:26 +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: Remove `load_theme_textdomain()` calls from default themes. 2023-06-16 13:04:21 +00:00
header.php Bundled Themes: Bump version numbers for WordPress 6.3. 2023-07-26 22:09:22 +00:00
image.php Coding Standards: Use strict comparison in bundled themes' PHP files. 2023-02-24 06:23:23 +00:00
index.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
license.txt
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 Twenty Eleven: Remove a useless CSS comment after [53819]. 2022-08-03 17:17:10 +00:00
screenshot.png
search.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
searchform.php
showcase.php Bundled Themes: Bump version numbers for WordPress 6.2. 2023-03-07 16:27:18 +00:00
sidebar-footer.php Code is Poetry. 2017-11-30 23:11:00 +00:00
sidebar-page.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
sidebar.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +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: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00

readme.txt

=== Twenty Eleven ===
Contributors: wordpressdotorg
Requires at least: 3.2
Tested up to: 6.3
Requires PHP: 5.2.4
Stable tag: 4.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, 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 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.

For more information about Twenty Eleven please go to https://codex.wordpress.org/Twenty_Eleven.

== Installation ==

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

== Copyright ==

Twenty Eleven WordPress Theme, Copyright 2011-2023 WordPress.org & Automattic.com
Twenty Eleven 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 Eleven 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

Images
"Yellow Flower Photo" by Bernard Spragg. CC0. https://stocksnap.io/photo/yellow-flower-GWT9JVALSV
"People Woman Photo" by Brooke Cagle. CC0. https://stocksnap.io/photo/people-woman-MU7G67710S

== Changelog ==

= 4.4 =
* Released: August 8, 2023

https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_4.4

= 4.3 =
* Released: March 28, 2023

https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_4.3

= 4.2 =
* Released: November 1, 2022

https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_4.2

= 4.1 =
* Released: May 24, 2022

https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_4.1

= 4.0 =
* Released: January 25, 2022

https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_4.0

= 3.9 =
* Released: July 26, 2021

https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.9

= 3.8 =
* Released: July 20, 2021

https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.8

= 3.7 =
* Released: March 9, 2021

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

= 3.6 =
* Released: December 8, 2020

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

= 3.5 =
* Released: August 11, 2020

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

= 3.4 =
* Released: March 31, 2020

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

= 3.3 =
* Released: May 7, 2019

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

= 3.2 =
* Released: February 21, 2019

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

= 3.1 =
* Released: January 9, 2019

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

= 3.0 =
* Released: December 19, 2018

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

= 2.9 =
* Released: December 6, 2018

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

= 2.8 =
* Released: May 17, 2018

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

= 2.7 =
* Released: November 14, 2017

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

= 2.6 =
* Released: June 8, 2017

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

= 2.5 =
* Released: August 15, 2016

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

= 2.4 =
* Released: April 12, 2016

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

= 2.3 =
* Released: December 8, 2015

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

= 2.2 =
* Released: August 18, 2015

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

= 2.1 =
* Released: April 23, 2015

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

= 2.0 =
* Released: December 18, 2014

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

= 1.9 =
* Released: September 4, 2014

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

= 1.8 =
* Released: May 8, 2014

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

= 1.7 =
* Released: October 24, 2013

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

= 1.6 =
* Released: August 1, 2013

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

= 1.5 =
* Released: December 11, 2012

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

= 1.4 =
* Released: June 13, 2012

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

= 1.3 =
* Released: December 12, 2011

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

= 1.2 =
* Released: July 12, 2011

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

= 1.1 =
* Released: July 4, 2011

Initial release.