描述
The new reCAPTCHA is here and now you can add it to your Contact Form 7 forms.
A significant number of your users can now attest they are human without having to solve a CAPTCHA. Instead with just a single click they’ll confirm they are not a robot. Google calls it the No CAPTCHA reCAPTCHA experience.
Why this plugin is different from the others:
- reCAPTCHAs for multiple forms on the same page
- define the API keys in your wp-config file to hide the settings page
- Github repo – please help me keep it updated : https://github.com/iambriansreed/contact-form-7-recaptcha
安装
- Upload the entire contents of the zip file to your plugin directory
- 通过WordPress的的“Plugins”菜单激活插件
- Configure plugin from Contact (Contact Form 7) -> reCAPTCHA
常见问题
- Installation Instructions
-
- Upload the entire contents of the zip file to your plugin directory
- 通过WordPress的的“Plugins”菜单激活插件
- Configure plugin from Contact (Contact Form 7) -> reCAPTCHA
评价
2018 年 6 月 4 日
This plugin is great! However, there’s currently a pretty major flaw with how it is implemented. The wpcf7_validate() function, which essentially checks to make sure the CAPTCHA check passed, only actually validates the CAPTCHA response if the “contact_form_7_recaptcha” POST parameter is present.
So, all a malicious user would need to do would be to simply omit “contact_form_7_recaptcha” from the POST data…
An alternative approach that isn’t vulnerable to this weakness would be to load the form itself from the DB and check to see if the recaptcha shortcode is present. If it is, then the validation would proceed. If it isn’t, then validation is unnecessary.
Also, in its current form, the plugin doesn’t show any sort of feedback if the user fails to check the box. I modified script.js so that an error message (“Please check the box.”) is shown in this case.
2017 年 4 月 20 日
Worked just fine, only tried/used regular Google Captcha, thank you!
2017 年 3 月 22 日
1 回复
This plugin causes Contact Form 7 (v4.7) to show the ‘Sender’s message failed to send’, the fields don’t get cleared, and Flamingo puts the form data into spam.
Please advise.
2017 年 3 月 5 日
1 回复
No problems so far, works.
2016 年 12 月 2 日
Took a little time understanding the Google keys thingy but then was quite easy to integrate in Contact Forms 7.
贡献者及开发者
更新日志
1.2.0
- Fixed the problem with invalid forms reset the recaptch
@laetitia-godet, @emgraphics
1.1.0
- Fixed the jQuery without a jQuery wrapper.
- Fixed the javascript queue issues.
- Fixed the invalid submission error that would break the recaptcha.
- Show wp_error information to logged in users. Note: SSL cURL requests are problematic in certain environments.
1.0.0
- Nothing new to see here.