Make WordPress Core

Ticket #56378: 56378-3.patch

File 56378-3.patch, 880 bytes (added by sebastienserre, 3 years ago)

Add suggestion made at https://github.com/WordPress/wordpress-develop/pull/4620#issuecomment-1593110036

  • src/wp-admin/includes/class-wp-debug-data.php

    Subject: [PATCH] Current time io Current date
    ---
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php
    a b  
    842842                // Server time.
    843843                $date = new \DateTime( 'now', new \DateTimeZone( 'UTC' ) );
    844844                $info['wp-server']['fields']['current'] = array(
    845                         'label' => __( 'Current date' ),
     845                        'label' => __( 'Current time' ),
    846846                        'value' => $date->format( \DateTime::ATOM ),
    847847                );
    848848                $info['wp-server']['fields']['utc-time'] = array(