Contact Form by WPForms – Drag & Drop Form Builder for WordPress - Version 1.6.7.2

Version Description

  • Fixed: Admin notice option flag reference.
Download this release

Release Info

Developer slaFFik
Plugin Icon 128x128 Contact Form by WPForms – Drag & Drop Form Builder for WordPress
Version 1.6.7.2
Comparing to
See all releases

Code changes from version 1.6.7.1 to 1.6.7.2

assets/languages/wpforms-lite.pot CHANGED
@@ -1,13 +1,13 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WPForms Lite 1.6.7.1\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-06-15T13:46:05+03: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"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WPForms Lite 1.6.7.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-06-25T15:10:52+03: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"
changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  == Changelog ==
2
 
 
 
 
3
  = 1.6.7.1 =
4
  - Changed: Improved logic of pasting a text in the fields with word and character limits.
5
  - Changed: Updated DOMPurify lib to 2.2.9.
1
  == Changelog ==
2
 
3
+ = 1.6.7.2 =
4
+ - Fixed: Admin notice option flag reference.
5
+
6
  = 1.6.7.1 =
7
  - Changed: Improved logic of pasting a text in the fields with word and character limits.
8
  - Changed: Updated DOMPurify lib to 2.2.9.
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.7
6
- Stable tag: 1.6.7.1
7
  Requires PHP: 5.5
8
  License: GNU General Public License v2.0 or later
9
 
@@ -418,6 +418,9 @@ Syed Balkhi
418
 
419
  == Changelog ==
420
 
 
 
 
421
  = 1.6.7.1 =
422
  - Changed: Improved logic of pasting a text in the fields with word and character limits.
423
  - Changed: Updated DOMPurify lib to 2.2.9.
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.7
6
+ Stable tag: 1.6.7.2
7
  Requires PHP: 5.5
8
  License: GNU General Public License v2.0 or later
9
 
418
 
419
  == Changelog ==
420
 
421
+ = 1.6.7.2 =
422
+ - Fixed: Admin notice option flag reference.
423
+
424
  = 1.6.7.1 =
425
  - Changed: Improved logic of pasting a text in the fields with word and character limits.
426
  - Changed: Updated DOMPurify lib to 2.2.9.
src/Migrations.php CHANGED
@@ -79,6 +79,10 @@ class Migrations {
79
  if ( version_compare( $version, '1.5.9', '<' ) ) {
80
  $this->v159_upgrade();
81
  }
 
 
 
 
82
  }
83
 
84
  /**
@@ -115,4 +119,29 @@ class Migrations {
115
 
116
  $this->is_migrated = true;
117
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  }
79
  if ( version_compare( $version, '1.5.9', '<' ) ) {
80
  $this->v159_upgrade();
81
  }
82
+
83
+ if ( version_compare( $version, '1.6.7.2', '<' ) ) {
84
+ $this->v1672_upgrade();
85
+ }
86
  }
87
 
88
  /**
119
 
120
  $this->is_migrated = true;
121
  }
122
+
123
+ /**
124
+ * Do all the required migrations for WPForms v1.6.7.2.
125
+ *
126
+ * @since 1.6.7.2
127
+ */
128
+ private function v1672_upgrade() {
129
+
130
+ $review = get_option( 'wpforms_review' );
131
+
132
+ if ( empty( $review ) ) {
133
+ return;
134
+ }
135
+
136
+ $notices = get_option( 'wpforms_admin_notices', [] );
137
+
138
+ if ( isset( $notices['review_request'] ) ) {
139
+ return;
140
+ }
141
+
142
+ $notices['review_request'] = $review;
143
+
144
+ update_option( 'wpforms_admin_notices', $notices, true );
145
+ delete_option( 'wpforms_review' );
146
+ }
147
  }
wpforms.php CHANGED
@@ -7,7 +7,7 @@
7
  * Requires PHP: 5.5
8
  * Author: WPForms
9
  * Author URI: https://wpforms.com
10
- * Version: 1.6.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.6.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.6.7.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.6.7.2' );
36
  }
37
 
38
  // Plugin Folder Path.