Coding Standards: Whitelist `date_default_timezone_set()` usage in `wp-settings.php`.
See #49542. Built from https://develop.svn.wordpress.org/trunk@47552 git-svn-id: http://core.svn.wordpress.org/trunk@47327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
57b7f0bc22
commit
78e62aa3e4
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.5-alpha-47551';
|
$wp_version = '5.5-alpha-47552';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
|
@ -64,6 +64,7 @@ wp_initial_constants();
|
||||||
wp_register_fatal_error_handler();
|
wp_register_fatal_error_handler();
|
||||||
|
|
||||||
// WordPress calculates offsets from UTC.
|
// WordPress calculates offsets from UTC.
|
||||||
|
// phpcs:ignore WordPress.DateTime.RestrictedFunctions.timezone_change_date_default_timezone_set
|
||||||
date_default_timezone_set( 'UTC' );
|
date_default_timezone_set( 'UTC' );
|
||||||
|
|
||||||
// Turn register_globals off.
|
// Turn register_globals off.
|
||||||
|
|
Loading…
Reference in New Issue