WordPress/wp-content/themes/twentynineteen
Sergey Biryukov 89f24e9c61 Code Modernization: Rename parameters that use reserved keywords in bundled themes.
While using reserved PHP keywords as parameter name labels is allowed, in the context of function calls using named parameters in PHP 8.0+, this will easily lead to confusion. To avoid that, it is recommended not to use reserved keywords as function parameter names.

This commit:
* Renames the `$class` parameter to `$css_class` in:
 * `twentysixteen_excerpt()`
 * `twentynineteen_post_classes()`
* Renames the `$echo` parameter to `$display` in:
 * `twentythirteen_entry_date()`
 * `twentytwenty_generate_css()`
 * `twentytwenty_site_logo()`
 * `twentytwenty_site_description()`
 * `twenty_twenty_one_generate_css()`

Follow-up to [52946], [52996], [52997], [52998], [53003], [53014], [53029], [53039], [53116], [53117], [53137], [53174], [53184], [53185], [53192], [53193], [53198], [53203], [53207], [53215], [53216], [53220], [53230], [53232].

Props jrf, aristath, poena, justinahinon, SergeyBiryukov.
See #55327.
Built from https://develop.svn.wordpress.org/trunk@53236


git-svn-id: http://core.svn.wordpress.org/trunk@52825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-20 14:24:12 +00:00
..
classes Code Modernization: Use explicit visibility for class property declarations. 2020-10-17 16:26:09 +00:00
fonts Default Themes: Import Twenty Nineteen from the 5.0 branch. 2018-12-14 02:33:41 +00:00
images Twenty Nineteen: Add images for use in block patterns. 2020-12-11 16:55:03 +00:00
inc Code Modernization: Rename parameters that use reserved keywords in bundled themes. 2022-04-20 14:24:12 +00:00
js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
sass Twenty Nineteen: Override flex order in comment form. 2022-03-25 21:20:04 +00:00
template-parts Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
404.php Bundled Themes: Correct `@since` tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
archive.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
comments.php Twenty Nineteen: Override flex order in comment form. 2022-03-25 21:20:04 +00:00
footer.php Bundled Themes: Correct `@since` tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
functions.php i18n: Define List item separator as a WP_Locale property. 2022-03-13 20:03:01 +00:00
header.php Bundled Themes: Correct `@since` tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
image.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
index.php Bundled Themes: Correct `@since` tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
package-lock.json Bundled Themes: Bump the versions for bundled themes for release. 2022-01-22 14:07:05 +00:00
package.json Bundled Themes: Bump the versions for bundled themes for release. 2022-01-22 14:07:05 +00:00
page.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
postcss.config.js Default Themes: Import Twenty Nineteen from the 5.0 branch. 2018-12-14 02:33:41 +00:00
print.css Twenty Nineteen: Remove stray `÷` character in `print.css`. 2019-02-28 02:47:51 +00:00
print.scss Twenty Nineteen: Fix inconsistent tab/space indentation in style files. 2019-04-07 06:18:51 +00:00
readme.txt Bundled Themes: Bump the versions for bundled themes for release. 2022-01-22 14:07:05 +00:00
screenshot.png Default Themes: Import Twenty Nineteen from the 5.0 branch. 2018-12-14 02:33:41 +00:00
search.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
single.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
style-editor-customizer.css Bundled Themes: Correct `customzier` typo. 2021-07-06 14:02:57 +00:00
style-editor-customizer.scss Bundled Themes: Correct `customzier` typo. 2021-07-06 14:02:57 +00:00
style-editor.css Twenty Nineteen: avoid columns set to full width to extend beyond editor bounds. 2022-03-12 19:13:05 +00:00
style-editor.scss Twenty Nineteen: avoid columns set to full width to extend beyond editor bounds. 2022-03-12 19:13:05 +00:00
style-rtl.css Twenty Nineteen: Override flex order in comment form. 2022-03-25 21:20:04 +00:00
style.css Twenty Nineteen: Override flex order in comment form. 2022-03-25 21:20:04 +00:00
style.scss Bundled Themes: Bump the versions for bundled themes for release. 2022-01-22 14:07:05 +00:00

readme.txt

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

=== Twenty Nineteen ===
Contributors: wordpressdotorg
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready, block-patterns
Requires at least: 4.9.6
Tested up to: 5.9
Stable tag: 2.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Our 2019 default theme is designed to show off the power of the block editor.

== Description ==
Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether youre running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.

For more information about Twenty Nineteen please go to https://wordpress.org/support/article/twenty-nineteen/.

== Installation ==

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

== Copyright ==

Twenty Nineteen WordPress Theme, Copyright 2018-2022 WordPress.org
Twenty Nineteen 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.

== Changelog ==

= 2.2 =
* Released: January 25, 2022

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

= 2.1 =
* Released: July 20, 2021

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

= 2.0 =
* Released: March 9, 2021

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

= 1.9 =
* Released: December 22, 2020

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

= 1.8 =
* Released: December 8, 2020

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

= 1.7 =
* Released: August 11, 2020

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

= 1.6 =
* Released: June 10, 2020

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

= 1.5 =
* Released: March 31, 2020

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

= 1.4 =
* Released: May 7, 2019

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

= 1.3 =
* Released: February 21, 2019

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

= 1.2 =
* Released: January 9, 2019

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

= 1.1 =
* Released: December 19, 2018

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

= 1.0 =
* Released: December 6, 2018

Initial release

== Resources ==
* normalize.css, © 2012-2018 Nicolas Gallagher and Jonathan Neal, MIT
* Underscores, © 2012-2022 Automattic, Inc., GNU GPL v2 or later
* Bundled block pattern images:
	* Abstract Background by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-background-0SRRVNMKBX
	* Abstract Waves by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-waves-0KREGLTZQ3
	* Abstract Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-bokeh-P4KVZBMQ6L
	* Colorful Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/colorful-bokeh-VN4G84GL8H