From 2e1de7309cd593944392c2a4d4483f5c263869d9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 24 Aug 2019 19:36:33 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/class-wp-debug-data.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index 963824afe6..674ea4b464 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/wp-admin/includes/class-wp-debug-data.php @@ -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' ),