From 79e39943a5ecfb7f65ac8bb95bc274a4a6d2b61d Mon Sep 17 00:00:00 2001 From: audrasjb Date: Wed, 17 Jan 2024 09:01:16 +0000 Subject: [PATCH] Twenty Twenty: Replace `wp_date()` with `date_i18n()`. Since WordPress 5.3 it is recommended to use `wp_date()` instead of `date_i18n()`. This changeset replaces the function in Twenty Twenty, with a fallback to `date_i18n()` for old versions of WordPress. For more info, see https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/. Props sachyya-sachet, joyously, sabernhardt, poena. Fixes #48589. Built from https://develop.svn.wordpress.org/trunk@57301 git-svn-id: http://core.svn.wordpress.org/trunk@56807 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/footer.php | 11 +++++++---- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentytwenty/footer.php b/wp-content/themes/twentytwenty/footer.php index fb3bc2f2c3..860266e52a 100644 --- a/wp-content/themes/twentytwenty/footer.php +++ b/wp-content/themes/twentytwenty/footer.php @@ -20,10 +20,13 @@ diff --git a/wp-includes/version.php b/wp-includes/version.php index 01b665ed56..65dd36a07b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57300'; +$wp_version = '6.5-alpha-57301'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.