summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJohn Blackbourn <johnbillion@git.wordpress.org>2021-08-26 19:33:22 +0000
committerJohn Blackbourn <johnbillion@git.wordpress.org>2021-08-26 19:33:22 +0000
commit524c2a6fd3d8818dd4789faffd4e18a1d458e320 (patch)
treec4d69c061eaecb472ec8191c90997812718a55bc
parentf838c865734d0abe249d46c692a663a5d7425d97 (diff)
downloadwordpress-524c2a6fd3d8818dd4789faffd4e18a1d458e320.tar.gz
wordpress-524c2a6fd3d8818dd4789faffd4e18a1d458e320.zip
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
-rw-r--r--src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php
index 2f275072ed..3f54f24436 100644
--- a/src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php
+++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php
@@ -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' ),