Version Description
Download this release
Release Info
Developer | 247wd |
Plugin | Contact Form 7 Captcha |
Version | 0.0.4 |
Comparing to | |
See all releases |
Code changes from version 0.0.3 to 0.0.4
- contact-form-7-simple-recaptcha.php +2 -5
- readme.txt +3 -3
contact-form-7-simple-recaptcha.php
CHANGED
@@ -69,11 +69,8 @@ if (!empty($cf7sr_key) && !empty($cf7sr_secret) && !is_admin()) {
|
|
69 |
|
70 |
$submission = WPCF7_Submission::get_instance();
|
71 |
$data = $submission->get_posted_data();
|
72 |
-
if (empty($data['_wpcf7'])) {
|
73 |
-
return $result;
|
74 |
-
}
|
75 |
|
76 |
-
$cf7_text = do_shortcode( '[contact-form-7 id="' . $
|
77 |
$cf7sr_key = get_option( 'cf7sr_key' );
|
78 |
if (false === strpos($cf7_text, $cf7sr_key)) {
|
79 |
return $result;
|
@@ -186,4 +183,4 @@ if (is_admin()) {
|
|
186 |
);
|
187 |
}
|
188 |
add_action('admin_menu', 'cf7sr_addmenu');
|
189 |
-
}
|
69 |
|
70 |
$submission = WPCF7_Submission::get_instance();
|
71 |
$data = $submission->get_posted_data();
|
|
|
|
|
|
|
72 |
|
73 |
+
$cf7_text = do_shortcode( '[contact-form-7 id="' . $_wpcf7 . '"]' );
|
74 |
$cf7sr_key = get_option( 'cf7sr_key' );
|
75 |
if (false === strpos($cf7_text, $cf7sr_key)) {
|
76 |
return $result;
|
183 |
);
|
184 |
}
|
185 |
add_action('admin_menu', 'cf7sr_addmenu');
|
186 |
+
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: 247wd
|
|
3 |
Donate link: https://www.paypal.me/cf7captcha
|
4 |
Tags: captcha, recaptcha, new recaptcha, contact form 7, no captcha
|
5 |
Requires at least: 4.1.2
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 0.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -17,7 +17,7 @@ This plugin implements "I'm not a robot" checkbox. When generating keys, choose
|
|
17 |
Add Google CAPTCHA to Contact Form 7.<br>
|
18 |
Protect your Contact Form 7 forms from spam and abuse.<br>
|
19 |
Can be used to protect multiple forms on same page.<br>
|
20 |
-
Tested with Contact Form 7 version 5.
|
21 |
Configure plugin from Settings => CF7 Simple Recaptcha.<br>
|
22 |
After configuration, add [cf7sr-simple-recaptcha] to any Contact Form 7 form.<br>
|
23 |
|
3 |
Donate link: https://www.paypal.me/cf7captcha
|
4 |
Tags: captcha, recaptcha, new recaptcha, contact form 7, no captcha
|
5 |
Requires at least: 4.1.2
|
6 |
+
Tested up to: 5.4.2
|
7 |
+
Stable tag: 0.0.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
17 |
Add Google CAPTCHA to Contact Form 7.<br>
|
18 |
Protect your Contact Form 7 forms from spam and abuse.<br>
|
19 |
Can be used to protect multiple forms on same page.<br>
|
20 |
+
Tested with Contact Form 7 version 5.2 and WordPress version 5.4.2<br>
|
21 |
Configure plugin from Settings => CF7 Simple Recaptcha.<br>
|
22 |
After configuration, add [cf7sr-simple-recaptcha] to any Contact Form 7 form.<br>
|
23 |
|