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

Built from https://develop.svn.wordpress.org/trunk@51676


git-svn-id: http://core.svn.wordpress.org/trunk@51282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2021-08-26 19:34:56 +00:00
parent 52d6bd3529
commit b3226d8e62
2 changed files with 2 additions and 2 deletions

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' ),

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-51675';
$wp_version = '5.9-alpha-51676';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.