diff --git a/includes/core/classes/class-utility.php b/includes/core/classes/class-utility.php index 80310252c..38b7f34e1 100644 --- a/includes/core/classes/class-utility.php +++ b/includes/core/classes/class-utility.php @@ -98,6 +98,7 @@ public static function unprefix_key( string $key ): string { */ public static function timezone_choices(): array { $timezones_raw = explode( PHP_EOL, wp_timezone_choice( 'UTC', get_user_locale() ) ); + $timezones_clean = array(); $group = null; foreach ( $timezones_raw as $timezone ) {