Changeset 56056
- Timestamp:
- 06/27/2023 08:02:46 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r55404 r56056 839 839 ); 840 840 } 841 842 // Server time. 843 $date = new DateTime( 'now', new DateTimeZone( 'UTC' ) ); 844 $info['wp-server']['fields']['current'] = array( 845 'label' => __( 'Current time' ), 846 'value' => $date->format( DateTime::ATOM ), 847 ); 848 $info['wp-server']['fields']['utc-time'] = array( 849 'label' => __( 'Current UTC time' ), 850 'value' => $date->format( DateTime::RFC850 ), 851 ); 852 $info['wp-server']['fields']['server-time'] = array( 853 'label' => __( 'Current Server time' ), 854 'value' => wp_date( 'c', $_SERVER['REQUEST_TIME'] ), 855 ); 841 856 842 857 // Populate the database debug fields.
Note: See TracChangeset
for help on using the changeset viewer.