mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
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
|
||||
*/
|
||||
$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.
|
||||
|
@ -64,6 +64,7 @@ wp_initial_constants();
|
||||
wp_register_fatal_error_handler();
|
||||
|
||||
// WordPress calculates offsets from UTC.
|
||||
// phpcs:ignore WordPress.DateTime.RestrictedFunctions.timezone_change_date_default_timezone_set
|
||||
date_default_timezone_set( 'UTC' );
|
||||
|
||||
// Turn register_globals off.
|
||||
|
Loading…
Reference in New Issue
Block a user