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

Version Description

  • Fixed: security issue with CSV export.
Download this release

Release Info

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

Code changes from version 1.12.21 to 1.12.22

admin/controllers/Generete_csv.php CHANGED
@@ -86,9 +86,15 @@ class FMControllerGenerete_csv {
86
  $output = fopen($tempfile, "a");
87
 
88
  if ( $limitstart == 0 ) {
 
 
 
89
  fputcsv($output, $sorted_label_names_original, $csv_delimiter);
90
  }
91
  foreach ( $data as $record ) {
 
 
 
92
  fputcsv($output, $record, $csv_delimiter);
93
  }
94
 
86
  $output = fopen($tempfile, "a");
87
 
88
  if ( $limitstart == 0 ) {
89
+ foreach ($sorted_label_names_original as $i => $rec) {
90
+ $sorted_label_names_original[$i] = ltrim($rec, '=');
91
+ }
92
  fputcsv($output, $sorted_label_names_original, $csv_delimiter);
93
  }
94
  foreach ( $data as $record ) {
95
+ foreach ($record as $i => $rec) {
96
+ $record[$i] = ltrim($rec, '=');
97
+ }
98
  fputcsv($output, $record, $csv_delimiter);
99
  }
100
 
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
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.12.21
7
  * Author: WebDorado Form Builder Team
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -94,8 +94,8 @@ final class WDFM {
94
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
95
  $this->front_urls = $this->get_front_urls();
96
  $this->main_file = plugin_basename(__FILE__);
97
- $this->plugin_version = '1.12.21';
98
- $this->db_version = '2.12.21';
99
  $this->menu_slug = 'manage_fm';
100
  $this->prefix = 'form_maker';
101
  $this->css_prefix = 'fm_';
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
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.12.22
7
  * Author: WebDorado Form Builder Team
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
94
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
95
  $this->front_urls = $this->get_front_urls();
96
  $this->main_file = plugin_basename(__FILE__);
97
+ $this->plugin_version = '1.12.22';
98
+ $this->db_version = '2.12.22';
99
  $this->menu_slug = 'manage_fm';
100
  $this->prefix = 'form_maker';
101
  $this->css_prefix = 'fm_';
framework/WDW_FM_Library.php CHANGED
@@ -859,6 +859,7 @@ class WDW_FM_Library {
859
  if ( strstr($str, '"') ) {
860
  $str = '"' . str_replace('"', '""', $str) . '"';
861
  }
 
862
  }
863
 
864
  /**
859
  if ( strstr($str, '"') ) {
860
  $str = '"' . str_replace('"', '""', $str) . '"';
861
  }
862
+ $str = ltrim($str, '=');
863
  }
864
 
865
  /**
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado,10web,wdsupport,formmakersupport
3
  Tags: form, form builder, contact form, custom form, feedback, contact, web contact form, captcha, email, form manager, forms, survey
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
- Stable tag: 1.12.21
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -446,6 +446,9 @@ Where **{{field_id}}** is the ID of the field you wish to prefill. Also, **{{par
446
 
447
  == Changelog ==
448
 
 
 
 
449
  = 1.12.21 =
450
  * Changed: DB field length.
451
 
3
  Tags: form, form builder, contact form, custom form, feedback, contact, web contact form, captcha, email, form manager, forms, survey
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
+ Stable tag: 1.12.22
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
446
 
447
  == Changelog ==
448
 
449
+ = 1.12.22 =
450
+ * Fixed: security issue with CSV export.
451
+
452
  = 1.12.21 =
453
  * Changed: DB field length.
454