Version Description
- Added: Support for WordPress Zero Spam plugin (https://wordpress.org/plugins/zero-spam/)
- Fixed: Issue when stacking fields with 2 column classes
Download this release
Release Info
Developer | jaredatch |
Plugin | Contact Form by WPForms – Drag & Drop Form Builder for WordPress |
Version | 1.1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.6 to 1.1.6.1
- assets/css/wpforms-base.css +1 -1
- assets/css/wpforms-full.css +1 -1
- includes/class-process.php +3 -1
- readme.txt +4 -0
- wpforms.php +2 -2
assets/css/wpforms-base.css
CHANGED
@@ -134,7 +134,7 @@
|
|
134 |
.wpforms-container .wpforms-field.wpforms-first-half {
|
135 |
float: left;
|
136 |
width: 47%;
|
137 |
-
clear:
|
138 |
}
|
139 |
|
140 |
.wpforms-container .wpforms-field.wpforms-second-half {
|
134 |
.wpforms-container .wpforms-field.wpforms-first-half {
|
135 |
float: left;
|
136 |
width: 47%;
|
137 |
+
clear: both;
|
138 |
}
|
139 |
|
140 |
.wpforms-container .wpforms-field.wpforms-second-half {
|
assets/css/wpforms-full.css
CHANGED
@@ -212,7 +212,7 @@ div.wpforms-container-full .wpforms-form .wpforms-one-half {
|
|
212 |
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-first-half {
|
213 |
float: left;
|
214 |
width: 47%;
|
215 |
-
clear:
|
216 |
}
|
217 |
|
218 |
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-second-half {
|
212 |
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-first-half {
|
213 |
float: left;
|
214 |
width: 47%;
|
215 |
+
clear: both;
|
216 |
}
|
217 |
|
218 |
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-second-half {
|
includes/class-process.php
CHANGED
@@ -124,10 +124,12 @@ class WPForms_Process {
|
|
124 |
// Validate honeypot
|
125 |
if ( !empty( $form_data['settings']['honeypot'] ) && '1' == $form_data['settings']['honeypot'] ) {
|
126 |
if ( isset( $entry['hp'] ) && !empty( $entry['hp'] ) ) {
|
127 |
-
$honeypot =
|
128 |
}
|
129 |
}
|
130 |
|
|
|
|
|
131 |
// Only trigger the processing (saving/sending entries, etc) if the entry
|
132 |
// is not spam.
|
133 |
if ( !$honeypot ) {
|
124 |
// Validate honeypot
|
125 |
if ( !empty( $form_data['settings']['honeypot'] ) && '1' == $form_data['settings']['honeypot'] ) {
|
126 |
if ( isset( $entry['hp'] ) && !empty( $entry['hp'] ) ) {
|
127 |
+
$honeypot = __( 'WPForms honeypot field triggered.', 'wpforms' );
|
128 |
}
|
129 |
}
|
130 |
|
131 |
+
$honeypot = apply_filters( 'wpforms_process_honeypot', $honeypot, $this->fields, $entry, $form_data );
|
132 |
+
|
133 |
// Only trigger the processing (saving/sending entries, etc) if the entry
|
134 |
// is not spam.
|
135 |
if ( !$honeypot ) {
|
readme.txt
CHANGED
@@ -158,6 +158,10 @@ Syed Balkhi
|
|
158 |
|
159 |
== Changelog ==
|
160 |
|
|
|
|
|
|
|
|
|
161 |
= 1.1.6 =
|
162 |
* Fixed: Conflict between confirmation action and filter
|
163 |
|
158 |
|
159 |
== Changelog ==
|
160 |
|
161 |
+
= 1.1.6.1 =
|
162 |
+
* Added: Support for WordPress Zero Spam plugin (https://wordpress.org/plugins/zero-spam/)
|
163 |
+
* Fixed: Issue when stacking fields with 2 column classes
|
164 |
+
|
165 |
= 1.1.6 =
|
166 |
* Fixed: Conflict between confirmation action and filter
|
167 |
|
wpforms.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Beginner friendly WordPress contact form plugin. Use our Drag & Drop form builder to create your WordPress forms.
|
6 |
* Author: WPForms
|
7 |
* Author URI: https://wpforms.com
|
8 |
-
* Version: 1.1.6
|
9 |
* Text Domain: wpforms
|
10 |
* Domain Path: languages
|
11 |
*
|
@@ -54,7 +54,7 @@ final class WPForms_Lite {
|
|
54 |
* @since 1.0.0
|
55 |
* @var sting
|
56 |
*/
|
57 |
-
private $version = '1.1.6';
|
58 |
|
59 |
/**
|
60 |
* The form data handler instance.
|
5 |
* Description: Beginner friendly WordPress contact form plugin. Use our Drag & Drop form builder to create your WordPress forms.
|
6 |
* Author: WPForms
|
7 |
* Author URI: https://wpforms.com
|
8 |
+
* Version: 1.1.6.1
|
9 |
* Text Domain: wpforms
|
10 |
* Domain Path: languages
|
11 |
*
|
54 |
* @since 1.0.0
|
55 |
* @var sting
|
56 |
*/
|
57 |
+
private $version = '1.1.6.1';
|
58 |
|
59 |
/**
|
60 |
* The form data handler instance.
|