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
This commit is contained in:
ryan 2009-05-14 16:23:20 +00:00
parent 7d84965ef7
commit 1f1a333449

View File

@ -3094,9 +3094,9 @@ function wp_timezone_supported() {
&& function_exists('timezone_open') && function_exists('timezone_open')
&& function_exists('timezone_offset_get') && function_exists('timezone_offset_get')
) )
return true; return apply_filters('timezone_support',true);
return false; return apply_filters('timezone_support',false);
} }
/** /**