From a9e3eb84e8fe101d61a9b89fef80495f50b4a182 Mon Sep 17 00:00:00 2001 From: dd32 Date: Sun, 7 Mar 2010 02:51:55 +0000 Subject: [PATCH] Check date_create() exists for automatic-timezone functionality. Props hakre. Fixes #12534 git-svn-id: http://svn.automattic.com/wordpress/trunk@13616 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 57488f2b38..48cbc63bb1 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3736,6 +3736,7 @@ function wp_timezone_override_offset() { function wp_timezone_supported() { $support = false; if ( + function_exists( 'date_create' ) && function_exists( 'date_default_timezone_set' ) && function_exists( 'timezone_identifiers_list' ) && function_exists( 'timezone_open' ) &&