From 112f7da4c4ecf30e35fe21ef50191ad01c66d603 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 17 Oct 2023 09:52:07 +0000 Subject: [PATCH] Twenty Nineteen: Correct the required WordPress version in theme headers. The required version was previously set to two different values: * 4.7 in the theme's `functions.php` file. * 4.9.6 in theme headers, because of the `the_privacy_policy_link()` function usage in `footer.php`. However, as `the_privacy_policy_link()` call is wrapped in a `function_exists()` check, it does not affect the requirements in practice. This commit aims to correct the discrepancy by updating theme headers to match the actual required WP version. Follow-up to [43808], [43892]. Props poena, kafleg, felipeelia, audrasjb, huzaifaalmesbah, shailu25, nicolefurlan, oglekler. Fixes #59557. git-svn-id: https://develop.svn.wordpress.org/trunk@56952 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentynineteen/readme.txt | 2 +- src/wp-content/themes/twentynineteen/style-rtl.css | 2 +- src/wp-content/themes/twentynineteen/style.css | 2 +- src/wp-content/themes/twentynineteen/style.scss | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-content/themes/twentynineteen/readme.txt b/src/wp-content/themes/twentynineteen/readme.txt index 68fbe944e0..80285bdbd1 100644 --- a/src/wp-content/themes/twentynineteen/readme.txt +++ b/src/wp-content/themes/twentynineteen/readme.txt @@ -1,7 +1,7 @@ === Twenty Nineteen === Contributors: wordpressdotorg Tags: one-column, 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 +Requires at least: 4.7 Tested up to: 6.3 Requires PHP: 5.2.4 Stable tag: 2.6 diff --git a/src/wp-content/themes/twentynineteen/style-rtl.css b/src/wp-content/themes/twentynineteen/style-rtl.css index 25a5df5f18..515d7a9c12 100644 --- a/src/wp-content/themes/twentynineteen/style-rtl.css +++ b/src/wp-content/themes/twentynineteen/style-rtl.css @@ -6,7 +6,7 @@ Author: the WordPress team Author URI: https://wordpress.org/ 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 you’re 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. Tested up to: 6.3 -Requires at least: 4.9.6 +Requires at least: 4.7 Requires PHP: 5.2.4 Version: 2.6 License: GNU General Public License v2 or later diff --git a/src/wp-content/themes/twentynineteen/style.css b/src/wp-content/themes/twentynineteen/style.css index 3deb24fbd0..ba391491d5 100644 --- a/src/wp-content/themes/twentynineteen/style.css +++ b/src/wp-content/themes/twentynineteen/style.css @@ -6,7 +6,7 @@ Author: the WordPress team Author URI: https://wordpress.org/ 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 you’re 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. Tested up to: 6.3 -Requires at least: 4.9.6 +Requires at least: 4.7 Requires PHP: 5.2.4 Version: 2.6 License: GNU General Public License v2 or later diff --git a/src/wp-content/themes/twentynineteen/style.scss b/src/wp-content/themes/twentynineteen/style.scss index 898a8e9fef..4d91573942 100644 --- a/src/wp-content/themes/twentynineteen/style.scss +++ b/src/wp-content/themes/twentynineteen/style.scss @@ -5,7 +5,7 @@ Author: the WordPress team Author URI: https://wordpress.org/ 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 you’re 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. Tested up to: 6.3 -Requires at least: 4.9.6 +Requires at least: 4.7 Requires PHP: 5.2.4 Version: 2.6 License: GNU General Public License v2 or later