Form Maker by WD – user-friendly drag & drop Form Builder plugin - Version 1.13.4

Version Description

  • Fixed: Vulnerability on submissions page.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Form Maker by WD – user-friendly drag & drop Form Builder plugin
Version 1.13.4
Comparing to
See all releases

Code changes from version 1.13.3 to 1.13.4

admin/controllers/Submissions_fm.php CHANGED
@@ -200,8 +200,8 @@ class FMControllerSubmissions_fm extends FMAdminController {
200
  $params['searched_ids'] = $labels_parameters[8] ? implode(',', $labels_parameters[8]) : '';
201
  $params['groupids'] = $labels_parameters[8] ? array_reverse($labels_parameters[8]) : array();
202
 
203
- $params['order_by'] = $order_by = WDW_FM_Library(self::PLUGIN)->get('order_by', 'group_id');
204
- $params['asc_or_desc'] = $asc_or_desc = WDW_FM_Library(self::PLUGIN)->get('asc_or_desc', 'desc');
205
 
206
  $lists = $labels_parameters[2];
207
  $params['lists'] = $lists;
@@ -230,7 +230,7 @@ class FMControllerSubmissions_fm extends FMAdminController {
230
  if ( !empty($_POST['order_by']) || !empty($_POST['asc_or_desc']) ) {
231
  $is_sort = true;
232
  $order_by = $_POST['order_by'];
233
- $asc_or_desc = $_POST['asc_or_desc'];
234
  }
235
  if ( !empty($is_search) || $is_sort || isset($_POST['current_page']) ) {
236
  if ( !empty($_POST['fm_is_search']) ) {
200
  $params['searched_ids'] = $labels_parameters[8] ? implode(',', $labels_parameters[8]) : '';
201
  $params['groupids'] = $labels_parameters[8] ? array_reverse($labels_parameters[8]) : array();
202
 
203
+ $params['order_by'] = $order_by = WDW_FM_Library(self::PLUGIN)->get('order_by', 'group_id');
204
+ $params['asc_or_desc'] = $asc_or_desc = (WDW_FM_Library(self::PLUGIN)->get('asc_or_desc', 'desc') == 'desc' ? 'desc' : 'asc');
205
 
206
  $lists = $labels_parameters[2];
207
  $params['lists'] = $lists;
230
  if ( !empty($_POST['order_by']) || !empty($_POST['asc_or_desc']) ) {
231
  $is_sort = true;
232
  $order_by = $_POST['order_by'];
233
+ $asc_or_desc = ($_POST['asc_or_desc'] == 'desc' ? 'desc' : 'asc');
234
  }
235
  if ( !empty($is_search) || $is_sort || isset($_POST['current_page']) ) {
236
  if ( !empty($_POST['fm_is_search']) ) {
admin/models/Submissions_fm.php CHANGED
@@ -130,7 +130,7 @@ class FMModelSubmissions_fm extends FMAdminModel {
130
  $where2 = array();
131
 
132
  $order_by = WDW_FM_Library(self::PLUGIN)->get('order_by', 'group_id');
133
- $asc_or_desc = WDW_FM_Library(self::PLUGIN)->get('asc_or_desc', 'desc');
134
  $lists['hide_label_list'] = WDW_FM_Library(self::PLUGIN)->get('hide_label_list', '');
135
  $lists['startdate'] = WDW_FM_Library(self::PLUGIN)->get('startdate', '');
136
  $lists['enddate'] = WDW_FM_Library(self::PLUGIN)->get('enddate', '');
130
  $where2 = array();
131
 
132
  $order_by = WDW_FM_Library(self::PLUGIN)->get('order_by', 'group_id');
133
+ $asc_or_desc = (WDW_FM_Library(self::PLUGIN)->get('asc_or_desc', 'desc') == 'desc' ? 'desc' : 'asc');
134
  $lists['hide_label_list'] = WDW_FM_Library(self::PLUGIN)->get('hide_label_list', '');
135
  $lists['startdate'] = WDW_FM_Library(self::PLUGIN)->get('startdate', '');
136
  $lists['enddate'] = WDW_FM_Library(self::PLUGIN)->get('enddate', '');
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://10web.io/plugins/wordpress-form-maker/
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
- * Version: 1.13.3
7
  * Author: 10Web Form Builder Team
8
  * Author URI: https://10web.io/plugins/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -95,8 +95,8 @@ final class WDFM {
95
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
96
  $this->front_urls = $this->get_front_urls();
97
  $this->main_file = plugin_basename(__FILE__);
98
- $this->plugin_version = '1.13.3';
99
- $this->db_version = '2.13.3';
100
  $this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
101
  $this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
102
  $this->menu_slug = 'manage' . $this->menu_postfix;
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://10web.io/plugins/wordpress-form-maker/
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
+ * Version: 1.13.4
7
  * Author: 10Web Form Builder Team
8
  * Author URI: https://10web.io/plugins/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
95
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
96
  $this->front_urls = $this->get_front_urls();
97
  $this->main_file = plugin_basename(__FILE__);
98
+ $this->plugin_version = '1.13.4';
99
+ $this->db_version = '2.13.4';
100
  $this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
101
  $this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
102
  $this->menu_slug = 'manage' . $this->menu_postfix;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado,10web,wdsupport,formmakersupport
3
  Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
4
  Requires at least: 4.6
5
  Tested up to: 5.1
6
- Stable tag: 1.13.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -522,6 +522,9 @@ Where **{{field_id}}** is the ID of the field you wish to prefill. Also, **{{par
522
 
523
  == Changelog ==
524
 
 
 
 
525
  = 1.13.3 =
526
  * Added: Functionality to add placeholders in "Select options from database" Where selector.
527
  * Added: Functionality to use "Star rating" as a condition.
3
  Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
4
  Requires at least: 4.6
5
  Tested up to: 5.1
6
+ Stable tag: 1.13.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
522
 
523
  == Changelog ==
524
 
525
+ = 1.13.4 =
526
+ * Fixed: Vulnerability on submissions page.
527
+
528
  = 1.13.3 =
529
  * Added: Functionality to add placeholders in "Select options from database" Where selector.
530
  * Added: Functionality to use "Star rating" as a condition.