From 1f1a3334497b5ad4d6777f67a2c51ad627d02944 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 14 May 2009 16:23:20 +0000 Subject: [PATCH] Allow plugins to override tz support enable/disable. Props Otto42. fixes #3962 git-svn-id: http://svn.automattic.com/wordpress/trunk@11329 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 99f5307595..1702bc30df 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3094,9 +3094,9 @@ function wp_timezone_supported() { && function_exists('timezone_open') && function_exists('timezone_offset_get') ) - return true; + return apply_filters('timezone_support',true); - return false; + return apply_filters('timezone_support',false); } /**