Skip to content

Commit

Permalink
Theme JSON schema: Fix "not allowed error" in settings property (#54521)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Sep 18, 2023
1 parent 62c1f50 commit 6db51a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schemas/json/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@
},
"settingsPropertiesLightbox": {
"type": "object",
"additionalProperties": false,
"properties": {
"lightbox": {
"description": "Settings related to the lightbox.",
Expand All @@ -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
}
}
},
Expand Down

1 comment on commit 6db51a6

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 6db51a6.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6220571630
📝 Reported issues:

Please sign in to comment.