WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/04/2016 08:24:54 PM (5 years ago)
Author:
rachelbaker
Message:

REST API: Merge similar date strings in the revisions and comments controllers.

Props ramiy.
Fixes #39016.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php

    r39342 r39488  
    405405                ),
    406406                'date'            => array(
    407                     'description' => __( 'The date the object was published.' ),
     407                    'description' => __( "The date the object was published, in the site's timezone." ),
    408408                    'type'        => 'string',
    409409                    'format'      => 'date-time',
     
    427427                ),
    428428                'modified'        => array(
    429                     'description' => __( 'The date the object was last modified.' ),
     429                    'description' => __( "The date the object was last modified, in the site's timezone." ),
    430430                    'type'        => 'string',
    431431                    'format'      => 'date-time',
Note: See TracChangeset for help on using the changeset viewer.