Make WordPress Core

Ticket #47842: #47842.patch

File #47842.patch, 923 bytes (added by justinahinon, 6 years ago)
  • src/wp-admin/includes/class-wp-debug-data.php

     
    4242                $core_version           = get_bloginfo( 'version' );
    4343                $core_updates           = get_core_updates();
    4444                $core_update_needed     = '';
     45                $core_gmt_offset                = get_option( 'gmt_offset' );
    4546
    4647                foreach ( $core_updates as $core => $update ) {
    4748                        if ( 'upgrade' === $update->response ) {
     
    7172                                        'label' => __( 'User Language' ),
    7273                                        'value' => get_user_locale(),
    7374                                ),
     75                                'core_timezone'                  => array(
     76                                        'label' => __( 'Site Time Offset' ),
     77                                        'value' => __( 'UTC + ' ) . $core_gmt_offset,
     78                                ),
    7479                                'home_url'               => array(
    7580                                        'label'   => __( 'Home URL' ),
    7681                                        'value'   => get_bloginfo( 'url' ),