From f33890f4879e5fc33e119d26d4945acd4ffe3e25 Mon Sep 17 00:00:00 2001 From: Julian van Dijk Date: Tue, 14 Nov 2023 09:27:44 +0100 Subject: [PATCH] remove some endpoints from filter due to admin edit page rendering bug (#52) --- lib/Cleanup.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Cleanup.php b/lib/Cleanup.php index 7c0c7de..67550c9 100644 --- a/lib/Cleanup.php +++ b/lib/Cleanup.php @@ -138,13 +138,10 @@ static function disable_default_endpoints( $endpoints ) { '/wp/v2/comments', '/wp/v2/settings', '/wp/v2/themes', - '/wp/v2/blocks', '/wp/v2/oembed', '/wp/v2/posts', '/wp/v2/pages', - '/wp/v2/block-renderer', '/wp/v2/search', - '/wp/v2/categories' ); if (!is_user_logged_in() ) {