From 2f723156283afcf50d07168a8208b1201f127921 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 15 Jan 2010 16:39:11 +0000 Subject: [PATCH] Always set default timezone to UTC. Do offsets on top of that to be portable across all environments. fixes #9588 #11672 #11665 git-svn-id: https://develop.svn.wordpress.org/trunk@12727 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index cac6c4adca..cf8362b436 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3496,7 +3496,6 @@ function wp_timezone_override_offset() { return false; } - @date_default_timezone_set( $timezone_string ); $timezone_object = timezone_open( $timezone_string ); $datetime_object = date_create(); if ( false === $timezone_object || false === $datetime_object ) {