Version Description
- Fixed: Edge case when form tokens (anti-spam protection) failed verification at certain time of a new day.
Download this release
Release Info
Developer | slaFFik |
Plugin | Contact Form by WPForms – Drag & Drop Form Builder for WordPress |
Version | 1.7.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1.1 to 1.7.1.2
- assets/images/about/team.jpg +0 -0
- assets/images/analytics/screenshot-full.jpg +0 -0
- assets/images/analytics/screenshot-tnail.jpg +0 -0
- assets/images/education-geolocation.jpg +0 -0
- assets/images/geolocation-education/address-autocomplete.jpg +0 -0
- assets/images/geolocation-education/address-autocomplete@2x.jpg +0 -0
- assets/images/geolocation-education/entry-location.jpg +0 -0
- assets/images/geolocation-education/entry-location@2x.jpg +0 -0
- assets/images/geolocation-education/smart-address-field.jpg +0 -0
- assets/images/geolocation-education/smart-address-field@2x.jpg +0 -0
- assets/images/welcome-testimonial-bill.jpg +0 -0
- assets/images/welcome-testimonial-david.jpg +0 -0
- assets/languages/wpforms-lite.pot +6 -6
- changelog.txt +3 -3
- readme.txt +4 -1
- src/Forms/Token.php +4 -3
- wpforms.php +2 -2
assets/images/about/team.jpg
CHANGED
Binary file
|
assets/images/analytics/screenshot-full.jpg
CHANGED
Binary file
|
assets/images/analytics/screenshot-tnail.jpg
CHANGED
Binary file
|
assets/images/education-geolocation.jpg
CHANGED
Binary file
|
assets/images/geolocation-education/address-autocomplete.jpg
CHANGED
Binary file
|
assets/images/geolocation-education/address-autocomplete@2x.jpg
CHANGED
Binary file
|
assets/images/geolocation-education/entry-location.jpg
CHANGED
Binary file
|
assets/images/geolocation-education/entry-location@2x.jpg
CHANGED
Binary file
|
assets/images/geolocation-education/smart-address-field.jpg
CHANGED
Binary file
|
assets/images/geolocation-education/smart-address-field@2x.jpg
CHANGED
Binary file
|
assets/images/welcome-testimonial-bill.jpg
CHANGED
Binary file
|
assets/images/welcome-testimonial-david.jpg
CHANGED
Binary file
|
assets/languages/wpforms-lite.pot
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WPForms Lite 1.7.1.
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpforms-lite\n"
|
5 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
6 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
"Content-Transfer-Encoding: 8bit\n"
|
10 |
-
"POT-Creation-Date: 2021-11-
|
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
12 |
"X-Generator: WP-CLI 2.5.0\n"
|
13 |
"X-Domain: wpforms-lite\n"
|
@@ -6443,20 +6443,20 @@ msgstr ""
|
|
6443 |
msgid "For form testing tips, check out our <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">complete guide!</a>"
|
6444 |
msgstr ""
|
6445 |
|
6446 |
-
#: src/Forms/Token.php:
|
6447 |
msgid "This page isn't loading JavaScript properly, and the form will not be able to submit."
|
6448 |
msgstr ""
|
6449 |
|
6450 |
-
#: src/Forms/Token.php:
|
6451 |
msgid "Form token is invalid. Please refresh the page."
|
6452 |
msgstr ""
|
6453 |
|
6454 |
-
#: src/Forms/Token.php:
|
6455 |
msgid "The form was unable to submit. Please contact the site administrator."
|
6456 |
msgstr ""
|
6457 |
|
6458 |
#. translators: placeholders are links.
|
6459 |
-
#: src/Forms/Token.php:
|
6460 |
msgid "Please check out our %1$stroubleshooting guide%2$s for details on resolving this issue."
|
6461 |
msgstr ""
|
6462 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: WPForms Lite 1.7.1.2\n"
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpforms-lite\n"
|
5 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
6 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
"Content-Transfer-Encoding: 8bit\n"
|
10 |
+
"POT-Creation-Date: 2021-11-18T10:54:04+00:00\n"
|
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
12 |
"X-Generator: WP-CLI 2.5.0\n"
|
13 |
"X-Domain: wpforms-lite\n"
|
6443 |
msgid "For form testing tips, check out our <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">complete guide!</a>"
|
6444 |
msgstr ""
|
6445 |
|
6446 |
+
#: src/Forms/Token.php:223
|
6447 |
msgid "This page isn't loading JavaScript properly, and the form will not be able to submit."
|
6448 |
msgstr ""
|
6449 |
|
6450 |
+
#: src/Forms/Token.php:235
|
6451 |
msgid "Form token is invalid. Please refresh the page."
|
6452 |
msgstr ""
|
6453 |
|
6454 |
+
#: src/Forms/Token.php:261
|
6455 |
msgid "The form was unable to submit. Please contact the site administrator."
|
6456 |
msgstr ""
|
6457 |
|
6458 |
#. translators: placeholders are links.
|
6459 |
+
#: src/Forms/Token.php:283
|
6460 |
msgid "Please check out our %1$stroubleshooting guide%2$s for details on resolving this issue."
|
6461 |
msgstr ""
|
6462 |
|
changelog.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
== Changelog ==
|
2 |
|
3 |
-
= 1.7.1.
|
4 |
-
- Fixed:
|
5 |
|
6 |
-
= 1.7.1 =
|
7 |
- Changed: Improved translations by removing confusion if non-translatable placeholders are used.
|
8 |
- Changed: Improved support for WordPress Core UI colors and admin themes in the admin bar menu.
|
9 |
- Changed: Improved display of empty and hidden field labels in Form Builder preview.
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.7.1.2 =
|
4 |
+
- Fixed: Edge case when form tokens (anti-spam protection) failed verification at certain time of a new day.
|
5 |
|
6 |
+
= 1.7.1.1 =
|
7 |
- Changed: Improved translations by removing confusion if non-translatable placeholders are used.
|
8 |
- Changed: Improved support for WordPress Core UI colors and admin themes in the admin bar menu.
|
9 |
- Changed: Improved display of empty and hidden field labels in Form Builder preview.
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wpforms, jaredatch, smub, slaFFik
|
|
3 |
Tags: contact form, contact form plugin, forms, form builder, custom form, contact button, contact me, custom contact form, form manager, form, forms builder, forms creator, captcha, recaptcha, Akismet, email form, web form, feedback form, payment form, survey form, donation form, email submit form, message form, mailchimp, mailchimp form, aweber, aweber form, paypal, paypal form, stripe, stripe form, getresponse, getresponse form, email subscription, contact form widget, user registration form, wordpress registration, wordpress login form, feedback
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.8
|
6 |
-
Stable tag: 1.7.1.
|
7 |
Requires PHP: 5.5
|
8 |
License: GNU General Public License v2.0 or later
|
9 |
|
@@ -422,6 +422,9 @@ Syed Balkhi
|
|
422 |
|
423 |
== Changelog ==
|
424 |
|
|
|
|
|
|
|
425 |
= 1.7.1.1 =
|
426 |
- Changed: Improved translations by removing confusion if non-translatable placeholders are used.
|
427 |
- Changed: Improved support for WordPress Core UI colors and admin themes in the admin bar menu.
|
3 |
Tags: contact form, contact form plugin, forms, form builder, custom form, contact button, contact me, custom contact form, form manager, form, forms builder, forms creator, captcha, recaptcha, Akismet, email form, web form, feedback form, payment form, survey form, donation form, email submit form, message form, mailchimp, mailchimp form, aweber, aweber form, paypal, paypal form, stripe, stripe form, getresponse, getresponse form, email subscription, contact form widget, user registration form, wordpress registration, wordpress login form, feedback
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.8
|
6 |
+
Stable tag: 1.7.1.2
|
7 |
Requires PHP: 5.5
|
8 |
License: GNU General Public License v2.0 or later
|
9 |
|
422 |
|
423 |
== Changelog ==
|
424 |
|
425 |
+
= 1.7.1.2 =
|
426 |
+
- Fixed: Edge case when form tokens (anti-spam protection) failed verification at certain time of a new day.
|
427 |
+
|
428 |
= 1.7.1.1 =
|
429 |
- Changed: Improved translations by removing confusion if non-translatable placeholders are used.
|
430 |
- Changed: Improved support for WordPress Core UI colors and admin themes in the admin bar menu.
|
src/Forms/Token.php
CHANGED
@@ -112,7 +112,7 @@ class Token {
|
|
112 |
}
|
113 |
|
114 |
// Add in our current date.
|
115 |
-
$valid_tokens[] = $this->get( $current_date );
|
116 |
|
117 |
// Add in the times after our check.
|
118 |
foreach ( $valid_token_times_after as $time ) {
|
@@ -207,6 +207,7 @@ class Token {
|
|
207 |
* @return bool Is valid or not.
|
208 |
*/
|
209 |
public function process_antispam_filter_wrapper( $is_valid_not_spam, array $fields, array $entry, array $form_data ) {
|
|
|
210 |
return apply_filters( 'wpforms_process_antispam', $is_valid_not_spam, $fields, $entry, $form_data );
|
211 |
}
|
212 |
|
@@ -265,7 +266,7 @@ class Token {
|
|
265 |
*
|
266 |
* @since 1.6.2.1
|
267 |
*
|
268 |
-
* @return string Support text if super admin,
|
269 |
*/
|
270 |
private function maybe_get_support_text() {
|
271 |
|
@@ -275,7 +276,7 @@ class Token {
|
|
275 |
}
|
276 |
|
277 |
// If the user is an admin, return text with a link to support.
|
278 |
-
// We add a space here to
|
279 |
// text to avoid it being removed.
|
280 |
return ' ' . sprintf(
|
281 |
// translators: placeholders are links.
|
112 |
}
|
113 |
|
114 |
// Add in our current date.
|
115 |
+
$valid_tokens[] = $this->get( $current_date, $form_data );
|
116 |
|
117 |
// Add in the times after our check.
|
118 |
foreach ( $valid_token_times_after as $time ) {
|
207 |
* @return bool Is valid or not.
|
208 |
*/
|
209 |
public function process_antispam_filter_wrapper( $is_valid_not_spam, array $fields, array $entry, array $form_data ) {
|
210 |
+
|
211 |
return apply_filters( 'wpforms_process_antispam', $is_valid_not_spam, $fields, $entry, $form_data );
|
212 |
}
|
213 |
|
266 |
*
|
267 |
* @since 1.6.2.1
|
268 |
*
|
269 |
+
* @return string Support text if super admin, empty string if not.
|
270 |
*/
|
271 |
private function maybe_get_support_text() {
|
272 |
|
276 |
}
|
277 |
|
278 |
// If the user is an admin, return text with a link to support.
|
279 |
+
// We add a space here to separate the sentences, but outside of the localized
|
280 |
// text to avoid it being removed.
|
281 |
return ' ' . sprintf(
|
282 |
// translators: placeholders are links.
|
wpforms.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Requires PHP: 5.5
|
8 |
* Author: WPForms
|
9 |
* Author URI: https://wpforms.com
|
10 |
-
* Version: 1.7.1.
|
11 |
* Text Domain: wpforms-lite
|
12 |
* Domain Path: assets/languages
|
13 |
*
|
@@ -32,7 +32,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
32 |
|
33 |
// Plugin version.
|
34 |
if ( ! defined( 'WPFORMS_VERSION' ) ) {
|
35 |
-
define( 'WPFORMS_VERSION', '1.7.1.
|
36 |
}
|
37 |
|
38 |
// Plugin Folder Path.
|
7 |
* Requires PHP: 5.5
|
8 |
* Author: WPForms
|
9 |
* Author URI: https://wpforms.com
|
10 |
+
* Version: 1.7.1.2
|
11 |
* Text Domain: wpforms-lite
|
12 |
* Domain Path: assets/languages
|
13 |
*
|
32 |
|
33 |
// Plugin version.
|
34 |
if ( ! defined( 'WPFORMS_VERSION' ) ) {
|
35 |
+
define( 'WPFORMS_VERSION', '1.7.1.2' );
|
36 |
}
|
37 |
|
38 |
// Plugin Folder Path.
|