Version Description
Download this release
Release Info
Developer | 247wd |
Plugin | Contact Form 7 Captcha |
Version | 0.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.1.1
- contact-form-7-simple-recaptcha.php +3 -3
- readme.txt +3 -3
contact-form-7-simple-recaptcha.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Contact Form 7 Captcha
|
4 |
Description: Add No CAPTCHA reCAPTCHA to Contact Form 7 using [cf7sr-simple-recaptcha] shortcode
|
5 |
-
Version: 0.1.
|
6 |
Author: 247wd
|
7 |
*/
|
8 |
|
@@ -53,7 +53,7 @@ if (!empty($cf7sr_key) && !empty($cf7sr_secret) && !is_admin()) {
|
|
53 |
$cf7sr = true;
|
54 |
$cf7sr_key = get_option('cf7sr_key');
|
55 |
return '<div id="cf7sr-' . uniqid() . '" class="cf7sr-g-recaptcha" data-sitekey="' . esc_attr($cf7sr_key)
|
56 |
-
. '"></div><span class="wpcf7-form-control-wrap cf7sr-recaptcha"><input type="hidden" name="cf7sr-recaptcha" value="" class="wpcf7-form-control"></span>';
|
57 |
}
|
58 |
add_shortcode('cf7sr-simple-recaptcha', 'cf7sr_shortcode');
|
59 |
|
@@ -103,7 +103,7 @@ if (!empty($cf7sr_key) && !empty($cf7sr_secret) && !is_admin()) {
|
|
103 |
if (is_admin()) {
|
104 |
function cf7sr_add_action_links($links) {
|
105 |
array_unshift($links , '<a href="' . admin_url( 'options-general.php?page=cf7sr_edit' ) . '">Settings</a>');
|
106 |
-
array_unshift($links , '<a target="_blank" style="
|
107 |
return $links;
|
108 |
}
|
109 |
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'cf7sr_add_action_links', 10, 2 );
|
2 |
/*
|
3 |
Plugin Name: Contact Form 7 Captcha
|
4 |
Description: Add No CAPTCHA reCAPTCHA to Contact Form 7 using [cf7sr-simple-recaptcha] shortcode
|
5 |
+
Version: 0.1.1
|
6 |
Author: 247wd
|
7 |
*/
|
8 |
|
53 |
$cf7sr = true;
|
54 |
$cf7sr_key = get_option('cf7sr_key');
|
55 |
return '<div id="cf7sr-' . uniqid() . '" class="cf7sr-g-recaptcha" data-sitekey="' . esc_attr($cf7sr_key)
|
56 |
+
. '"></div><span class="wpcf7-form-control-wrap cf7sr-recaptcha" data-name="cf7sr-recaptcha"><input type="hidden" name="cf7sr-recaptcha" value="" class="wpcf7-form-control"></span>';
|
57 |
}
|
58 |
add_shortcode('cf7sr-simple-recaptcha', 'cf7sr_shortcode');
|
59 |
|
103 |
if (is_admin()) {
|
104 |
function cf7sr_add_action_links($links) {
|
105 |
array_unshift($links , '<a href="' . admin_url( 'options-general.php?page=cf7sr_edit' ) . '">Settings</a>');
|
106 |
+
array_unshift($links , '<a target="_blank" style="color: red;" href="http://www.cf7captcha.com">Upgrade To Pro Free</a>');
|
107 |
return $links;
|
108 |
}
|
109 |
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'cf7sr_add_action_links', 10, 2 );
|
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:
|
7 |
-
Stable tag: 0.1.
|
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 |
Added CSRF check and escaped attributes in Settings page.
|
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: 6.0
|
7 |
+
Stable tag: 0.1.1
|
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.6 and WordPress version 6.0<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 |
Added CSRF check and escaped attributes in Settings page.
|