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:
Sergey Biryukov 2020-04-06 09:06:12 +00:00
parent 57b7f0bc22
commit 78e62aa3e4
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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.