From bb1c19f3b782af1b7ed7538c37370458ef5c9fbc Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 17 Jan 2024 08:59:42 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@57301 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/footer.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/wp-content/themes/twentytwenty/footer.php b/src/wp-content/themes/twentytwenty/footer.php index fb3bc2f2c3..860266e52a 100644 --- a/src/wp-content/themes/twentytwenty/footer.php +++ b/src/wp-content/themes/twentytwenty/footer.php @@ -20,10 +20,13 @@