Make WordPress Core


Ignore:
Timestamp:
08/03/2021 12:17:54 PM (5 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [41626].

See #53359.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-date-time-control.php

    r51300 r51534  
    228228                if ( $tz_string ) {
    229229                        try {
    230                                 $tz = new DateTimezone( $tz_string );
     230                                $tz = new DateTimeZone( $tz_string );
    231231                        } catch ( Exception $e ) {
    232232                                $tz = '';
Note: See TracChangeset for help on using the changeset viewer.