Make WordPress Core

Changeset 51676


Ignore:
Timestamp:
08/26/2021 07:33:22 PM (3 years ago)
Author:
johnbillion
Message:

REST API: Correct the description for the last_updated property in the block-directory endpoint.

This field shows the date in ISO 8601 format.

Fixes #53595

File:
1 edited

Legend:

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

    r51289 r51676  
    271271                ),
    272272                'last_updated'        => array(
    273                     'description' => __( 'The date when the block was last updated, in fuzzy human readable format.' ),
     273                    'description' => __( 'The date when the block was last updated.' ),
    274274                    'type'        => 'string',
    275275                    'format'      => 'date-time',
Note: See TracChangeset for help on using the changeset viewer.