Skip to content
Corex

CaptchaTestController

Corex\Captcha\CaptchaTestController · class · Add-ons layer

The “Test verification” REST action for the captcha card (spec 044, US2). Runs a probe against the configured provider and answers with the spec-043 envelope classified by {@see CaptchaDiagnostic}. manage_options + a REST nonce gate it (Principle VII); the secret is used only in the outbound probe and never appears in the response (FR-008).

test(WP_REST_Request $request): WP_REST_Response

Section titled “test(WP_REST_Request $request): WP_REST_Response”