Skip to content

Commit

Permalink
Merge pull request #99 from shanerutter/woocommerce-fix-reviews-recap…
Browse files Browse the repository at this point in the history
…ture

WooCommerce product reviews bypassing google recapture checks
  • Loading branch information
Arsenal21 authored Apr 16, 2020
2 parents 84685ac + d985e99 commit dba38be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ function process_comment_post( $comment )
}

//Don't do captcha for pingback/trackback
if ($comment['comment_type'] != '' && $comment['comment_type'] != 'comment') {
if ($comment['comment_type'] != '' && $comment['comment_type'] != 'comment' && $comment['comment_type'] != 'review') {
return $comment;
}

Expand Down

0 comments on commit dba38be

Please sign in to comment.