From 656a2b0f44009ef5d998c8b2ee89bfe5fc33e6da Mon Sep 17 00:00:00 2001 From: Django Doucet Date: Fri, 5 May 2023 13:22:47 -0600 Subject: [PATCH] remove unneeded filter --- includes/rest/class-inbox.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/rest/class-inbox.php b/includes/rest/class-inbox.php index 217e816..64e4a0c 100644 --- a/includes/rest/class-inbox.php +++ b/includes/rest/class-inbox.php @@ -18,7 +18,6 @@ class Inbox { */ public static function init() { \add_action( 'rest_api_init', array( self::class, 'register_routes' ) ); - \add_filter( 'rest_pre_serve_request', array( self::class, 'serve_request' ), 11, 4 ); \add_action( 'activitypub_inbox_create', array( self::class, 'handle_create' ), 10, 2 ); }