From 734685397bf3f4764f845b422a049219d2f627e4 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@11329 602fd350-edb4-49c9-b593-d223f7449a82 --- 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); } /**