Check date_create() exists for automatic-timezone functionality. Props hakre. Fixes #12534
git-svn-id: https://develop.svn.wordpress.org/trunk@13616 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d2232722ea
commit
bcf8d7598e
|
@ -3736,6 +3736,7 @@ function wp_timezone_override_offset() {
|
||||||
function wp_timezone_supported() {
|
function wp_timezone_supported() {
|
||||||
$support = false;
|
$support = false;
|
||||||
if (
|
if (
|
||||||
|
function_exists( 'date_create' ) &&
|
||||||
function_exists( 'date_default_timezone_set' ) &&
|
function_exists( 'date_default_timezone_set' ) &&
|
||||||
function_exists( 'timezone_identifiers_list' ) &&
|
function_exists( 'timezone_identifiers_list' ) &&
|
||||||
function_exists( 'timezone_open' ) &&
|
function_exists( 'timezone_open' ) &&
|
||||||
|
|
Loading…
Reference in New Issue