Skip to content

Commit

Permalink
Coding Standards: Correct DateTimeZone class name in `WP_Customize_…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
SergeyBiryukov committed Aug 3, 2021
1 parent a5de731 commit f117c74
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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 = '';
}
Expand Down

0 comments on commit f117c74

Please sign in to comment.