mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
a5de731f9e
commit
f117c74c6a
@ -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 = '';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user