Version Description
on August 18, 2022 =
- Tweak: Changed the autocomplete on the hidden field to
new-password
instead ofoff
. Thanks, Ross!
Download this release
Release Info
Developer | gravityview |
Plugin | Gravity Forms Zero Spam |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
- gravityforms-zero-spam.php +5 -5
- readme.txt +4 -0
gravityforms-zero-spam.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Gravity Forms Zero Spam
|
4 |
-
* Plugin URI: https://
|
5 |
* Description: Enhance Gravity Forms to include effective anti-spam measures—without using a CAPTCHA.
|
6 |
-
* Version: 1.2.
|
7 |
-
* Author:
|
8 |
-
* Author URI: https://
|
9 |
* License: GPL-2.0+
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
11 |
*/
|
@@ -77,7 +77,7 @@ class GF_Zero_Spam {
|
|
77 |
|
78 |
$spam_key = esc_js( $this->get_key() );
|
79 |
|
80 |
-
$autocomplete = RGFormsModel::is_html5_enabled() ? ".attr( 'autocomplete', '
|
81 |
|
82 |
$script = <<<EOD
|
83 |
jQuery( document ).on( 'submit.gravityforms', '.gform_wrapper form', function( event ) {
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Gravity Forms Zero Spam
|
4 |
+
* Plugin URI: https://www.gravitykit.com?utm_source=plugin&utm_campaign=zero-spam&utm_content=pluginuri
|
5 |
* Description: Enhance Gravity Forms to include effective anti-spam measures—without using a CAPTCHA.
|
6 |
+
* Version: 1.2.3
|
7 |
+
* Author: GravityKit
|
8 |
+
* Author URI: https://www.gravitykit.com?utm_source=plugin&utm_campaign=zero-spam&utm_content=authoruri
|
9 |
* License: GPL-2.0+
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
11 |
*/
|
77 |
|
78 |
$spam_key = esc_js( $this->get_key() );
|
79 |
|
80 |
+
$autocomplete = RGFormsModel::is_html5_enabled() ? ".attr( 'autocomplete', 'new-password' )\n\t\t" : '';
|
81 |
|
82 |
$script = <<<EOD
|
83 |
jQuery( document ).on( 'submit.gravityforms', '.gform_wrapper form', function( event ) {
|
readme.txt
CHANGED
@@ -97,6 +97,10 @@ First, **de-activate and re-activate the plugin**. Then let us know on the suppo
|
|
97 |
|
98 |
== Changelog ==
|
99 |
|
|
|
|
|
|
|
|
|
100 |
= 1.2.2 on August 11, 2022 =
|
101 |
|
102 |
* Improved: Prevent autocomplete on the hidden field. This may help prevent some reported false-positives.
|
97 |
|
98 |
== Changelog ==
|
99 |
|
100 |
+
= 1.2.3 on August 18, 2022 =
|
101 |
+
|
102 |
+
* Tweak: Changed the autocomplete on the hidden field to `new-password` instead of `off`. Thanks, Ross!
|
103 |
+
|
104 |
= 1.2.2 on August 11, 2022 =
|
105 |
|
106 |
* Improved: Prevent autocomplete on the hidden field. This may help prevent some reported false-positives.
|