diff --git a/src/Rules/InvalidRequest.php b/src/Rules/InvalidRequest.php index 54807dea..50c2870c 100644 --- a/src/Rules/InvalidRequest.php +++ b/src/Rules/InvalidRequest.php @@ -11,7 +11,7 @@ class InvalidRequest extends Base implements SpamReason { protected static $slug = 'asb-invalid-request'; public static function verify( $item ) { - if ( isset( $item[ 'ab_spam__invalid_request'] ) && $item[ 'ab_spam__invalid_request'] ) { + if ( isset( $_POST[ 'ab_spam__invalid_request'] ) && $_POST[ 'ab_spam__invalid_request'] ) { return 999; }