Make WordPress Core


Ignore:
Timestamp:
12/04/2016 08:24:54 PM (9 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-comments-controller.php

    r39487 r39488  
    12031203                ),
    12041204                'date'             => array(
    1205                     'description'  => __( 'The date the object was published.' ),
     1205                    'description'  => __( "The date the object was published, in the site's timezone." ),
    12061206                    'type'         => 'string',
    12071207                    'format'       => 'date-time',
     
    12091209                ),
    12101210                'date_gmt'         => array(
    1211                     'description'  => __( 'The date the object was published as GMT.' ),
     1211                    'description'  => __( 'The date the object was published, as GMT.' ),
    12121212                    'type'         => 'string',
    12131213                    'format'       => 'date-time',
Note: See TracChangeset for help on using the changeset viewer.