Skip to content

Commit ae2f74b

Browse files
author
James Amner
committed
[FIX] Fix post-type schema capabilites for taxonomy
1 parent 5c1ee73 commit ae2f74b

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

packages/editor-tools/schema/post-type.schema.json

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -638,25 +638,22 @@
638638
"capabilities": {
639639
"type": "object",
640640
"description": "Array of capabilities for this taxonomy.",
641-
"items": {
642-
"type": "object",
643-
"properties": {
644-
"manage_terms": {
645-
"type": "string",
646-
"description": "Capability required to manage terms of this taxonomy."
647-
},
648-
"edit_terms": {
649-
"type": "string",
650-
"description": "Capability required to edit terms of this taxonomy."
651-
},
652-
"delete_terms": {
653-
"type": "string",
654-
"description": "Capability required to delete terms of this taxonomy."
655-
},
656-
"assign_terms": {
657-
"type": "string",
658-
"description": "Capability required to assign terms of this taxonomy."
659-
}
641+
"properties": {
642+
"manage_terms": {
643+
"type": "string",
644+
"description": "Capability required to manage terms of this taxonomy."
645+
},
646+
"edit_terms": {
647+
"type": "string",
648+
"description": "Capability required to edit terms of this taxonomy."
649+
},
650+
"delete_terms": {
651+
"type": "string",
652+
"description": "Capability required to delete terms of this taxonomy."
653+
},
654+
"assign_terms": {
655+
"type": "string",
656+
"description": "Capability required to assign terms of this taxonomy."
660657
}
661658
}
662659
},

0 commit comments

Comments
 (0)