Coding Standards: Whitelist date_default_timezone_set()
usage in wp-settings.php
.
See #49542. git-svn-id: https://develop.svn.wordpress.org/trunk@47552 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6b28c4d100
commit
b195a159e1
@ -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