Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix core/archives non-property block having additionalProperties: false
  • Loading branch information
alecgeatches committed Sep 2, 2022
commit 6095a7ab7210ae9ebb3f119283c8c0a1d6886d58
3 changes: 1 addition & 2 deletions schemas/json/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,7 @@
"type": "object",
"properties": {
"core/archives": {
"description": "Archive block. Display a monthly archive of your posts. This block has no block-level settings",
"additionalProperties": false
Copy link
Contributor

Choose a reason for hiding this comment

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

The archives block does not have any block-level settings, so we should probably update this to add "type": "object" rather than removing "additionalProperties": false

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, that makes sense to me!

"description": "Archive block. Display a monthly archive of your posts. This block has no block-level settings"
},
"core/audio": {
"$ref": "#/definitions/settingsPropertiesComplete"
Expand Down