From 6db51a6ee92db6c3324a875135656861bbd9e55d Mon Sep 17 00:00:00 2001 From: Aki Hamano <54422211+t-hamano@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:17:30 +0900 Subject: [PATCH] Theme JSON schema: Fix "not allowed error" in settings property (#54521) --- schemas/json/theme.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/json/theme.json b/schemas/json/theme.json index e0f3efc01eb1f..5a0b049f6d0d5 100644 --- a/schemas/json/theme.json +++ b/schemas/json/theme.json @@ -298,7 +298,6 @@ }, "settingsPropertiesLightbox": { "type": "object", - "additionalProperties": false, "properties": { "lightbox": { "description": "Settings related to the lightbox.", @@ -312,7 +311,8 @@ "description": "Defines whether to show the Lightbox UI in the block editor. If set to `false`, the user won't be able to change the lightbox settings in the block editor.", "type": "boolean" } - } + }, + "additionalProperties": false } } },