From af253aa544ac3a793eba2df321e934aba4f04969 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 19 Sep 2022 23:24:11 +0000 Subject: [PATCH] I18N: Update list of continents and cities for the timezone selection. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on a two-way comparison between the available timezone city names in PHP 5.6.20 and PHP 8.2.0. Lists of available timezone names have been retrieved using the PHP `timezone_identifiers_list()` function. See: [https://3v4l.org/ro1vY/rfc#vgit.master timezone_identifiers_list() output and comparison]. Note: Both spellings of `Kiev`/`Kyiv` need to be in the list to allow it to work PHP cross-version. * The “old” version — `Kiev` — will be used as the basis to find the localized name for the timezone dropdown lists on PHP 5.6 to 8.1. * The corrected spelling — `Kyiv` — will be used to find the localized name on PHP 8.2 and up. Follow-up to [50555], [54207], [54217]. Props jrf, costdev. See #56468. Built from https://develop.svn.wordpress.org/trunk@54227 git-svn-id: http://core.svn.wordpress.org/trunk@53786 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/continents-cities.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/continents-cities.php b/wp-admin/includes/continents-cities.php index 56f3418576..cb8e0335db 100644 --- a/wp-admin/includes/continents-cities.php +++ b/wp-admin/includes/continents-cities.php @@ -448,6 +448,7 @@ __( 'Istanbul', 'continents-cities' ); __( 'Jersey', 'continents-cities' ); __( 'Kaliningrad', 'continents-cities' ); __( 'Kiev', 'continents-cities' ); +__( 'Kyiv', 'continents-cities' ); __( 'Kirov', 'continents-cities' ); __( 'Lisbon', 'continents-cities' ); __( 'Ljubljana', 'continents-cities' ); @@ -519,6 +520,7 @@ __( 'Guadalcanal', 'continents-cities' ); __( 'Guam', 'continents-cities' ); __( 'Honolulu', 'continents-cities' ); __( 'Johnston', 'continents-cities' ); +__( 'Kanton', 'continents-cities' ); __( 'Kiritimati', 'continents-cities' ); __( 'Kosrae', 'continents-cities' ); __( 'Kwajalein', 'continents-cities' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index fa0e5cbf3e..9f4f2d0abd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54226'; +$wp_version = '6.1-alpha-54227'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.