From 01de805c701da77419a5619bc31e9d21a4d3f36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Zi=C3=B3=C5=82kowski?= Date: Thu, 28 May 2020 11:54:38 +0200 Subject: [PATCH] Update class-wp-rest-block-types-controller.php --- lib/class-wp-rest-block-types-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class-wp-rest-block-types-controller.php b/lib/class-wp-rest-block-types-controller.php index e73dd74783956..c90d6366cc1f4 100644 --- a/lib/class-wp-rest-block-types-controller.php +++ b/lib/class-wp-rest-block-types-controller.php @@ -431,7 +431,7 @@ public function get_item_schema() { ), 'parent' => array( 'description' => __( 'Parent blocks.', 'gutenberg' ), - 'type' => 'array', + 'type' => array( 'null', 'array' ), 'items' => array( 'type' => 'string', ),