From e9051f2c6c208a0aa06573337926a68f769af15a Mon Sep 17 00:00:00 2001 From: Sean Fisher Date: Wed, 28 Feb 2024 14:25:48 -0500 Subject: [PATCH] Update plugin.php Co-authored-by: David Herrera --- plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.php b/plugin.php index 442b0a2..2392563 100644 --- a/plugin.php +++ b/plugin.php @@ -60,7 +60,7 @@ function should_prevent_anonymous_access( WP_REST_Server $server, WP_REST_Reques } /** - * Allow OPTIONS requests to bypass the REST API Guard checks by default. + * Filters whether the REST API Guard should check OPTIONS requests. * * This is useful for CORS preflight requests. *