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
This commit is contained in:
Sergey Biryukov 2021-08-03 12:17:54 +00:00
parent a5de731f9e
commit f117c74c6a

View File

@ -227,7 +227,7 @@ class WP_Customize_Date_Time_Control extends WP_Customize_Control {
if ( $tz_string ) {
try {
$tz = new DateTimezone( $tz_string );
$tz = new DateTimeZone( $tz_string );
} catch ( Exception $e ) {
$tz = '';
}