mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
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:
parent
7d84965ef7
commit
1f1a333449
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user