diff --git a/includes/core/classes/class-utility.php b/includes/core/classes/class-utility.php index aa77da1ee..80310252c 100644 --- a/includes/core/classes/class-utility.php +++ b/includes/core/classes/class-utility.php @@ -97,8 +97,7 @@ public static function unprefix_key( string $key ): string { * @return array An array of time zones with labels as keys and time zone choices as values. */ public static function timezone_choices(): array { - $timezones_raw = explode( PHP_EOL, wp_timezone_choice( 'UTC' ) ); - $timezones_clean = array(); + $timezones_raw = explode( PHP_EOL, wp_timezone_choice( 'UTC', get_user_locale() ) ); $group = null; foreach ( $timezones_raw as $timezone ) {