Make WordPress Core

Ticket #39016: 39016.patch

File 39016.patch, 2.1 KB (added by ramiy, 8 years ago)
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php

     
    12061206                                        ),
    12071207                                ),
    12081208                                'date'             => array(
    1209                                         'description'  => __( 'The date the object was published.' ),
     1209                                        'description'  => __( 'The date the object was published, in the site's timezone.' ),
    12101210                                        'type'         => 'string',
    12111211                                        'format'       => 'date-time',
    12121212                                        'context'      => array( 'view', 'edit', 'embed' ),
    12131213                                ),
    12141214                                'date_gmt'         => array(
    1215                                         'description'  => __( 'The date the object was published as GMT.' ),
     1215                                        'description'  => __( 'The date the object was published, as GMT.' ),
    12161216                                        'type'         => 'string',
    12171217                                        'format'       => 'date-time',
    12181218                                        'context'      => array( 'view', 'edit' ),
  • wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php

     
    404404                                        'context'     => array( 'view', 'edit', 'embed' ),
    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',
    410410                                        'context'     => array( 'view', 'edit', 'embed' ),
     
    426426                                        'context'     => array( 'view', 'edit', 'embed' ),
    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',
    432432                                        'context'     => array( 'view', 'edit' ),