mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
5400c50367
commit
def9fc3741
@ -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 = '';
|
||||||
}
|
}
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user