Contact Form Plugin – Fastest Contact Form Builder Plugin for WordPress by Fluent Forms - Version 3.6.21

Version Description

(Date: June 19, 2020) = * Address Field Parser Fix * Added {inputs.fieldName.label} smartcode for accessing checkable field label

Download this release

Release Info

Developer techjewel
Plugin Icon 128x128 Contact Form Plugin – Fastest Contact Form Builder Plugin for WordPress by Fluent Forms
Version 3.6.21
Comparing to
See all releases

Code changes from version 3.6.2 to 3.6.21

app/Hooks/Common.php CHANGED
@@ -80,10 +80,10 @@ foreach ($elements as $element) {
80
  $app->addFilter($event, function ($response, $field, $form_id, $isLabel = false) {
81
  $element = $field['element'];
82
 
83
- if ($element == 'address' && isset($response['country'])) {
84
  $countryList = getFluentFormCountryList();
85
- if (isset($countryList[$response['country']])) {
86
- $response['country'] = $countryList[$response['country']];
87
  }
88
  }
89
 
80
  $app->addFilter($event, function ($response, $field, $form_id, $isLabel = false) {
81
  $element = $field['element'];
82
 
83
+ if ($element == 'address' && !empty($response->country)) {
84
  $countryList = getFluentFormCountryList();
85
+ if (isset($countryList[$response->country])) {
86
+ $response->country = $countryList[$response->country];
87
  }
88
  }
89
 
app/Modules/Form/Form.php CHANGED
@@ -139,12 +139,11 @@ class Form
139
  */
140
  public function store()
141
  {
142
- $type = $this->request->get('type', 'form');
143
  $title = $this->request->get('title', 'My New Form');
144
  $status = $this->request->get('status', 'published');
145
  $createdBy = get_current_user_id();
146
 
147
-
148
  $now = current_time('mysql');
149
 
150
  $insertData = [
@@ -160,15 +159,10 @@ class Form
160
  $insertData['form_fields'] = $this->formFields;
161
  }
162
 
163
- if($this->formType) {
164
- $insertData['type'] = $this->formType;
165
- }
166
-
167
  if($this->hasPayment) {
168
  $insertData['has_payment'] = $this->hasPayment;
169
  }
170
 
171
-
172
  $formId = $this->model->insert($insertData);
173
 
174
  // Rename the form name here
139
  */
140
  public function store()
141
  {
142
+ $type = $this->request->get('type', $this->formType);
143
  $title = $this->request->get('title', 'My New Form');
144
  $status = $this->request->get('status', 'published');
145
  $createdBy = get_current_user_id();
146
 
 
147
  $now = current_time('mysql');
148
 
149
  $insertData = [
159
  $insertData['form_fields'] = $this->formFields;
160
  }
161
 
 
 
 
 
162
  if($this->hasPayment) {
163
  $insertData['has_payment'] = $this->hasPayment;
164
  }
165
 
 
166
  $formId = $this->model->insert($insertData);
167
 
168
  // Rename the form name here
fluentform.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Fluent Forms - Best Form Plugin for WordPress
4
  Description: Contact Form By Fluent Forms is the advanced Contact form plugin with drag and drop, multi column supported form builder plugin
5
- Version: 3.6.2
6
  Author: WP Fluent Forms
7
  Author URI: https://wpmanageninja.com
8
  Plugin URI: https://wpmanageninja.com/wp-fluent-form/
@@ -16,7 +16,7 @@ defined('ABSPATH') or die;
16
  defined('FLUENTFORM') or define('FLUENTFORM', true);
17
  define('FLUENTFORM_DIR_PATH', plugin_dir_path(__FILE__));
18
 
19
- defined('FLUENTFORM_VERSION') or define('FLUENTFORM_VERSION', '3.6.2');
20
 
21
  if (!defined('FLUENTFORM_HAS_NIA')) {
22
  define('FLUENTFORM_HAS_NIA', true);
2
  /*
3
  Plugin Name: Fluent Forms - Best Form Plugin for WordPress
4
  Description: Contact Form By Fluent Forms is the advanced Contact form plugin with drag and drop, multi column supported form builder plugin
5
+ Version: 3.6.21
6
  Author: WP Fluent Forms
7
  Author URI: https://wpmanageninja.com
8
  Plugin URI: https://wpmanageninja.com/wp-fluent-form/
16
  defined('FLUENTFORM') or define('FLUENTFORM', true);
17
  define('FLUENTFORM_DIR_PATH', plugin_dir_path(__FILE__));
18
 
19
+ defined('FLUENTFORM_VERSION') or define('FLUENTFORM_VERSION', '3.6.21');
20
 
21
  if (!defined('FLUENTFORM_HAS_NIA')) {
22
  define('FLUENTFORM_HAS_NIA', true);
glue.json CHANGED
@@ -2,7 +2,7 @@
2
  "plugin_name": "FluentForm",
3
  "plugin_slug": "fluentform",
4
  "plugin_text_domain": "fluentform",
5
- "plugin_version": "3.6.2",
6
  "plugin_description": "The most advanced drag and drop form builder plugin for WordPress",
7
  "plugin_uri": "https://wpfluentforms.com",
8
  "plugin_license": "GPLv2 or later",
2
  "plugin_name": "FluentForm",
3
  "plugin_slug": "fluentform",
4
  "plugin_text_domain": "fluentform",
5
+ "plugin_version": "3.6.21",
6
  "plugin_description": "The most advanced drag and drop form builder plugin for WordPress",
7
  "plugin_uri": "https://wpfluentforms.com",
8
  "plugin_license": "GPLv2 or later",
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: contact form, contact forms, wp forms, forms, form builder
4
  Requires at least: 4.5
5
  Tested up to: 5.4
6
  Requires PHP: 5.6
7
- Stable tag: 3.6.2
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -302,7 +302,11 @@ Yes, Please check our <a href="https://trello.com/b/FaDlAD9B/public-roadmap-wp-f
302
 
303
  == Changelog ==
304
 
305
- = 3.6.2 (Date: June 18, 2020) =
 
 
 
 
306
  * Brand new UI for Form Builder
307
  * Introducing Weekly Email Summary for all of your forms
308
  * See All the Entries aggregated from all the forms
4
  Requires at least: 4.5
5
  Tested up to: 5.4
6
  Requires PHP: 5.6
7
+ Stable tag: 3.6.21
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
302
 
303
  == Changelog ==
304
 
305
+ = 3.6.21 (Date: June 19, 2020) =
306
+ * Address Field Parser Fix
307
+ * Added {inputs.fieldName.label} smartcode for accessing checkable field label
308
+
309
+ = 3.6.0 (Date: June 18, 2020) =
310
  * Brand new UI for Form Builder
311
  * Introducing Weekly Email Summary for all of your forms
312
  * See All the Entries aggregated from all the forms