From cf2cae527d3c004666a9899b641ba311d748ab3c Mon Sep 17 00:00:00 2001 From: hellofromtonya Date: Thu, 2 Feb 2023 14:34:17 -0600 Subject: [PATCH] Doc change of adding block_types to schema --- .../endpoints/class-wp-rest-pattern-directory-controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php index d0d891dbe323a..0260561866efb 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php @@ -225,6 +225,7 @@ public function prepare_item_for_response( $item, $request ) { * Retrieves the block pattern's schema, conforming to JSON Schema. * * @since 5.8.0 + * @since 6.2.0 Added `'block_types'` to schema. * * @return array Item schema data. */