Site Health: Add timezone to Site Health Info page.

Props justinahinon, sharaz, artisticasad, Rarst.
Fixes #47842.
Built from https://develop.svn.wordpress.org/trunk@45889


git-svn-id: http://core.svn.wordpress.org/trunk@45700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-08-24 19:37:57 +00:00
parent 17d32ebc8f
commit c896a0911e
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45888';
$wp_version = '5.3-alpha-45889';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.