Skip to content

Commit

Permalink
Update plugin.php
Browse files Browse the repository at this point in the history
Co-authored-by: David Herrera <[email protected]>
  • Loading branch information
srtfisher and dlh01 authored Feb 28, 2024
1 parent 8ae6405 commit e9051f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit e9051f2

Please sign in to comment.