mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
f838c86573
commit
524c2a6fd3
@ -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' ),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user