Version Description
Fixes small bug when enabling in bulk with other plugins.
Download this release
Release Info
Developer | nocean |
Plugin | Contact Form 7 Honeypot |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1 to 2.1.1
- honeypot.php +2 -2
- includes/admin.php +1 -8
- readme.txt +7 -1
honeypot.php
CHANGED
@@ -5,12 +5,12 @@ Plugin URI: http://www.nocean.ca/plugins/honeypot-module-for-contact-form-7-word
|
|
5 |
Description: Add honeypot anti-spam functionality to the popular Contact Form 7 plugin.
|
6 |
Author: Nocean
|
7 |
Author URI: http://www.nocean.ca
|
8 |
-
Version: 2.1
|
9 |
Text Domain: contact-form-7-honeypot
|
10 |
Domain Path: /languages/
|
11 |
*/
|
12 |
|
13 |
-
define( 'HONEYPOT4CF7_VERSION', '2.1' );
|
14 |
define( 'HONEYPOT4CF7_PLUGIN', __FILE__ );
|
15 |
define( 'HONEYPOT4CF7_PLUGIN_BASENAME', plugin_basename( HONEYPOT4CF7_PLUGIN ) );
|
16 |
define( 'HONEYPOT4CF7_PLUGIN_NAME', trim( dirname( HONEYPOT4CF7_PLUGIN_BASENAME ), '/' ) );
|
5 |
Description: Add honeypot anti-spam functionality to the popular Contact Form 7 plugin.
|
6 |
Author: Nocean
|
7 |
Author URI: http://www.nocean.ca
|
8 |
+
Version: 2.1.1
|
9 |
Text Domain: contact-form-7-honeypot
|
10 |
Domain Path: /languages/
|
11 |
*/
|
12 |
|
13 |
+
define( 'HONEYPOT4CF7_VERSION', '2.1.1' );
|
14 |
define( 'HONEYPOT4CF7_PLUGIN', __FILE__ );
|
15 |
define( 'HONEYPOT4CF7_PLUGIN_BASENAME', plugin_basename( HONEYPOT4CF7_PLUGIN ) );
|
16 |
define( 'HONEYPOT4CF7_PLUGIN_NAME', trim( dirname( HONEYPOT4CF7_PLUGIN_BASENAME ), '/' ) );
|
includes/admin.php
CHANGED
@@ -87,13 +87,6 @@ function honeypot4cf7_uninstall() {
|
|
87 |
*
|
88 |
*********** */
|
89 |
function honeypot4cf7_on_activation() {
|
90 |
-
if ( ! current_user_can( 'activate_plugins' ) ) {
|
91 |
-
return;
|
92 |
-
}
|
93 |
-
|
94 |
-
$plugin = isset( $_REQUEST['plugin'] ) ? $_REQUEST['plugin'] : '';
|
95 |
-
check_admin_referer( "activate-plugin_{$plugin}" );
|
96 |
-
|
97 |
// Initialize option values
|
98 |
return honeypot4cf7_get_config();
|
99 |
}
|
@@ -157,7 +150,7 @@ add_action( 'admin_menu', 'honeypot4cf7_admin_menu' );
|
|
157 |
function honeypot4cf7_admin_menu() {
|
158 |
add_submenu_page(
|
159 |
'wpcf7',
|
160 |
-
__('Honeypot for
|
161 |
__('Honeypot', 'contact-form-7-honeypot'),
|
162 |
'manage_options','honeypot4cf7',
|
163 |
'honeypot4cf7_admin_page'
|
87 |
*
|
88 |
*********** */
|
89 |
function honeypot4cf7_on_activation() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
// Initialize option values
|
91 |
return honeypot4cf7_get_config();
|
92 |
}
|
150 |
function honeypot4cf7_admin_menu() {
|
151 |
add_submenu_page(
|
152 |
'wpcf7',
|
153 |
+
__('Honeypot for Contact Form 7', 'contact-form-7-honeypot'),
|
154 |
__('Honeypot', 'contact-form-7-honeypot'),
|
155 |
'manage_options','honeypot4cf7',
|
156 |
'honeypot4cf7_admin_page'
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Honeypot for Contact Form 7 ===
|
2 |
Tags: honeypot, antispam, anti-spam, captcha, spam, bots, form, forms, contact form 7, contactform7, contact form, cf7
|
3 |
Requires at least: 4.8
|
4 |
-
Tested up to:
|
5 |
Stable tag: trunk
|
6 |
Requires PHP: 5.6
|
7 |
Contributors: nocean, DaoByDesign
|
@@ -65,6 +65,9 @@ Probably not. But it should reduce it to a level whereby you don't require any a
|
|
65 |
|
66 |
This largely depends on the quality of the CAPTCHA. Unfortunately the more difficult a CAPTCHA is to break, the more unfriendly it is to the end user. This honeypot module was created because I don't like CAPTCHAs cluttering up my forms. My recommendation is to try this module first, and if you find that it doesn't stop enough spam, then employ more challenging anti-spam techniques.
|
67 |
|
|
|
|
|
|
|
68 |
= Can I modify the HTML this plugin outputs? =
|
69 |
|
70 |
Yep! See the **Installation** section for more details and [this Gist](https://gist.github.com/nocean/953b1362b63bd3ecf68c) for examples.
|
@@ -87,6 +90,9 @@ I realize not everyone loves ads, but daddy's gotta pay the bills. I'm extremely
|
|
87 |
2. Honeypot CF7 Form Tag Settings
|
88 |
|
89 |
== Changelog ==
|
|
|
|
|
|
|
90 |
= 2.1 =
|
91 |
Added new feature: additional submission time check to improve bot-stopping power! Also, fixed small HTML issue and tidied up shortcode interface.
|
92 |
|
1 |
=== Honeypot for Contact Form 7 ===
|
2 |
Tags: honeypot, antispam, anti-spam, captcha, spam, bots, form, forms, contact form 7, contactform7, contact form, cf7
|
3 |
Requires at least: 4.8
|
4 |
+
Tested up to: 6.0
|
5 |
Stable tag: trunk
|
6 |
Requires PHP: 5.6
|
7 |
Contributors: nocean, DaoByDesign
|
65 |
|
66 |
This largely depends on the quality of the CAPTCHA. Unfortunately the more difficult a CAPTCHA is to break, the more unfriendly it is to the end user. This honeypot module was created because I don't like CAPTCHAs cluttering up my forms. My recommendation is to try this module first, and if you find that it doesn't stop enough spam, then employ more challenging anti-spam techniques.
|
67 |
|
68 |
+
= Can I use more than one Honeypot field in my forms? =
|
69 |
+
You sure can, and many users have indicated this helps stop even more spam, as it increases your chances a bot will get caught in the trap. Just make sure each Honeypot field has a unique name.
|
70 |
+
|
71 |
= Can I modify the HTML this plugin outputs? =
|
72 |
|
73 |
Yep! See the **Installation** section for more details and [this Gist](https://gist.github.com/nocean/953b1362b63bd3ecf68c) for examples.
|
90 |
2. Honeypot CF7 Form Tag Settings
|
91 |
|
92 |
== Changelog ==
|
93 |
+
= 2.1.1 =
|
94 |
+
Fixes small bug when enabling in bulk with other plugins.
|
95 |
+
|
96 |
= 2.1 =
|
97 |
Added new feature: additional submission time check to improve bot-stopping power! Also, fixed small HTML issue and tidied up shortcode interface.
|
98 |
|