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


git-svn-id: https://develop.svn.wordpress.org/trunk@51676 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2021-08-26 19:33:22 +00:00
parent f838c86573
commit 524c2a6fd3

View File

@ -270,7 +270,7 @@ class WP_REST_Block_Directory_Controller extends WP_REST_Controller {
'context' => array( 'view' ),
),
'last_updated' => array(
'description' => __( 'The date when the block was last updated, in fuzzy human readable format.' ),
'description' => __( 'The date when the block was last updated.' ),
'type' => 'string',
'format' => 'date-time',
'context' => array( 'view' ),