Skip to content

Commit e77ee34

Browse files
committed
Temporarily remove Editor from PostTypeSupports enum
WordPress 6.9-RC3 changed the `editor` field in post type supports from a boolean to an array (e.g., `[{"notes": true}]`), breaking deserialization. Removing temporarily to verify CI passes without it.
1 parent b111cd0 commit e77ee34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wp_api/src/post_types.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ pub enum PostTypeSupports {
171171
Author,
172172
Comments,
173173
CustomFields,
174-
Editor,
174+
// TODO: Temporarily removed - WordPress 6.9 returns array instead of bool for editor
175+
// Editor,
175176
Excerpt,
176177
PageAttributes,
177178
PostFormats,

0 commit comments

Comments
 (0)