Skip to content

Commit

Permalink
Remove general wp/v2 api filter to prevent unsetting events api calls
Browse files Browse the repository at this point in the history
  • Loading branch information
julian9499 authored Nov 9, 2023
1 parent 1dd8d78 commit 8df5390
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ static function remove_version_query_arg_amp($src)
static function disable_default_endpoints( $endpoints ) {
$endpoints_to_remove = array(
'/oembed/1.0',
'/wp/v2',
'/wp/v2/media',
'/wp/v2/types',
'/wp/v2/statuses',
Expand Down

0 comments on commit 8df5390

Please sign in to comment.