Make WordPress Core

Ticket #56378: Add_Site_health_creation_Date.patch

File Add_Site_health_creation_Date.patch, 917 bytes (added by sebastienserre, 4 years ago)
  • wp-admin/includes/class-wp-debug-data.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php
    a b  
    6262                // Set up the array that holds all debug information.
    6363                $info = array();
    6464
     65                $info['site-health-details'] = array(
     66                        'label'  => __( 'Site Health details' ),
     67                        'fields' => array(
     68                                'creation_date' => array(
     69                                        'label' => __( 'Creation Date' ),
     70                                        'value' => wp_date( get_option( 'date_format' ) ),
     71                                )
     72                        )
     73                );
     74
    6575                $info['wp-core'] = array(
    6676                        'label'  => __( 'WordPress' ),
    6777                        'fields' => array(