Site Health: Add timezone to Site Health Info page.

Props justinahinon, sharaz, artisticasad, Rarst.
Fixes #47842.

git-svn-id: https://develop.svn.wordpress.org/trunk@45889 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-08-24 19:36:33 +00:00
parent 3e704473e7
commit 2e1de7309c

View File

@ -71,6 +71,10 @@ class WP_Debug_Data {
'label' => __( 'User Language' ), 'label' => __( 'User Language' ),
'value' => get_user_locale(), 'value' => get_user_locale(),
), ),
'timezone' => array(
'label' => __( 'Timezone' ),
'value' => wp_timezone_string(),
),
'home_url' => array( 'home_url' => array(
'label' => __( 'Home URL' ), 'label' => __( 'Home URL' ),
'value' => get_bloginfo( 'url' ), 'value' => get_bloginfo( 'url' ),