From f117c74c6aaeab9cf3fc13315778ae697d07c74a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 3 Aug 2021 12:17:54 +0000 Subject: [PATCH] Coding Standards: Correct `DateTimeZone` class name in `WP_Customize_Date_Time_Control::get_timezone_info()`. Follow-up to [41626]. See #53359. git-svn-id: https://develop.svn.wordpress.org/trunk@51534 602fd350-edb4-49c9-b593-d223f7449a82 --- .../customize/class-wp-customize-date-time-control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/customize/class-wp-customize-date-time-control.php b/src/wp-includes/customize/class-wp-customize-date-time-control.php index ac31c418bf2e..607799768cbf 100644 --- a/src/wp-includes/customize/class-wp-customize-date-time-control.php +++ b/src/wp-includes/customize/class-wp-customize-date-time-control.php @@ -227,7 +227,7 @@ public function get_timezone_info() { if ( $tz_string ) { try { - $tz = new DateTimezone( $tz_string ); + $tz = new DateTimeZone( $tz_string ); } catch ( Exception $e ) { $tz = ''; }