mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user