Skip to content

Commit

Permalink
WPCS: we are in a nonce-checking function
Browse files Browse the repository at this point in the history
So the concern about possible CSRF isn’t valid.

See #324
  • Loading branch information
JDGrimes committed May 2, 2015
1 parent 5e2315b commit 70aec90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function wordpoints_verify_nonce(
) {

if ( 'post' === $request_type ) {
$request = $_POST;
$request = $_POST; // WPCS: CSRF OK.
} else {
$request = $_GET;
}
Expand Down

0 comments on commit 70aec90

Please sign in to comment.