From 8b3327e9af2f71ad02fbcb993f39eb1a2228bb5e Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 9 Jul 2024 10:31:25 +0200 Subject: [PATCH] handling revision(s) instead of revision --- includes/post_types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/post_types.php b/includes/post_types.php index b934f5b..87f68f9 100644 --- a/includes/post_types.php +++ b/includes/post_types.php @@ -193,7 +193,7 @@ function create_posttype() 'show_in_rest' => true, 'menu_icon' => 'dashicons-forms', 'supports' => array('title', 'custom-fields'), - 'supports' => array('title', 'editor', 'page-attributes', 'thumbnail', 'revision', 'excerpt'), + 'supports' => array('title', 'editor', 'page-attributes', 'thumbnail', 'revisions', 'excerpt'), ) );