From 91f4622fd6a4dae5e70aa811dabfe4e346d05a61 Mon Sep 17 00:00:00 2001 From: Django Doucet Date: Mon, 13 Nov 2023 11:16:30 -0700 Subject: [PATCH] Adding a note about cached key --- includes/rest/class-server.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/rest/class-server.php b/includes/rest/class-server.php index 3854040..083d6d8 100644 --- a/includes/rest/class-server.php +++ b/includes/rest/class-server.php @@ -119,6 +119,7 @@ class Server { if ( \is_wp_error( $verified_request ) ) { $error_code = $verified_request->get_error_code(); if ( Application::is_actor_delete_request( $request ) && '404' === $error_code ) { + // if actor key is cached this error will not occur, the following should be dealt with in an activity-type-handler $actor = Application::is_known_commenter( $request ); if ( wp_http_validate_url( $actor ) ) { \wp_schedule_single_event(