Skip to content

Commit

Permalink
remove some endpoints from filter due to admin edit page rendering bug (
Browse files Browse the repository at this point in the history
  • Loading branch information
julian9499 authored Nov 14, 2023
1 parent 8df5390 commit f33890f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() ) {
Expand Down

0 comments on commit f33890f

Please sign in to comment.