From 524c2a6fd3d8818dd4789faffd4e18a1d458e320 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 26 Aug 2021 19:33:22 +0000 Subject: [PATCH] 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 --- .../endpoints/class-wp-rest-block-directory-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ),