Ticket #47842: #47842.3.patch
File #47842.3.patch, 1004 bytes (added by , 5 years ago) |
---|
-
wp-admin/includes/class-wp-debug-data.php
42 42 $core_version = get_bloginfo( 'version' ); 43 43 $core_updates = get_core_updates(); 44 44 $core_update_needed = ''; 45 $core_timezone = wp_timezone_string(); 45 46 46 47 foreach ( $core_updates as $core => $update ) { 47 48 if ( 'upgrade' === $update->response ) { … … 52 53 } 53 54 } 54 55 56 if ( !get_option( 'timezone_string' ) ) { 57 $core_timezone = 'UTC' . $core_timezone; 58 } 59 55 60 // Set up the array that holds all debug information. 56 61 $info = array(); 57 62 … … 106 111 'value' => $is_multisite ? __( 'Yes' ) : __( 'No' ), 107 112 'debug' => $is_multisite, 108 113 ), 114 'core_timezone' => array( 115 'label' => __( 'Site Timezone' ), 116 'value' => $core_timezone, 117 ), 109 118 ), 110 119 ); 111 120