Coding Standards: Correct DateTimeZone class name in WP_Customize_Date_Time_Control::get_timezone_info().

Follow-up to [41626].

See #53359.
Built from https://develop.svn.wordpress.org/trunk@51534


git-svn-id: http://core.svn.wordpress.org/trunk@51145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-08-03 12:18:57 +00:00
parent 5400c50367
commit def9fc3741
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-51533'; $wp_version = '5.9-alpha-51534';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.