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

Version Description

bug fixed in stats change field value type to longtext

Download this release

Release Info

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

Code changes from version 1.7.37 to 1.7.38

admin/controllers/FMControllerSubmissions_fm.php CHANGED
@@ -23,8 +23,11 @@ class FMControllerSubmissions_fm {
23
  $id = ((isset($_POST['current_id'])) ? esc_html($_POST['current_id']) : 0);
24
  $form_id = ((isset($_POST['form_id']) && esc_html($_POST['form_id']) != '') ? esc_html($_POST['form_id']) : 0);
25
  if (method_exists($this, $task)) {
26
- check_admin_referer('nonce_fm', 'nonce_fm');
27
- $this->$task($id);
 
 
 
28
  }
29
  else {
30
  $this->display($form_id);
23
  $id = ((isset($_POST['current_id'])) ? esc_html($_POST['current_id']) : 0);
24
  $form_id = ((isset($_POST['form_id']) && esc_html($_POST['form_id']) != '') ? esc_html($_POST['form_id']) : 0);
25
  if (method_exists($this, $task)) {
26
+ if($task != 'show_stats')
27
+ check_admin_referer('nonce_fm', 'nonce_fm');
28
+ else
29
+ check_ajax_referer('nonce_fm_ajax', 'nonce_fm_ajax');
30
+ $this->$task($id);
31
  }
32
  else {
33
  $this->display($form_id);
admin/views/FMViewSubmissions_fm.php CHANGED
@@ -641,6 +641,7 @@ class FMViewSubmissions_fm {
641
  }
642
  }
643
  if ($is_stats) {
 
644
  ?>
645
  <br /><br />
646
  <h1 style="border-bottom: 1px solid; padding-bottom:7px; width:99%; color: hsl(197, 100%, 32%);">Statistics</h1>
@@ -699,7 +700,8 @@ class FMViewSubmissions_fm {
699
  'form_id' : '<?php echo $form_id; ?>',
700
  'sorted_label_key' : jQuery('#sorted_label_key').val(),
701
  'startdate' : jQuery('#startstats').val(),
702
- 'enddate' : jQuery('#endstats').val()
 
703
  });
704
  }
705
  else
641
  }
642
  }
643
  if ($is_stats) {
644
+ $ajax_nonce = wp_create_nonce( "nonce_fm_ajax" );
645
  ?>
646
  <br /><br />
647
  <h1 style="border-bottom: 1px solid; padding-bottom:7px; width:99%; color: hsl(197, 100%, 32%);">Statistics</h1>
700
  'form_id' : '<?php echo $form_id; ?>',
701
  'sorted_label_key' : jQuery('#sorted_label_key').val(),
702
  'startdate' : jQuery('#startstats').val(),
703
+ 'enddate' : jQuery('#endstats').val(),
704
+ 'nonce_fm_ajax': '<?php echo $ajax_nonce; ?>'
705
  });
706
  }
707
  else
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: http://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.7.37
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -207,7 +207,7 @@ if (class_exists('WP_Widget')) {
207
  // Activate plugin.
208
  function form_maker_activate() {
209
  $version = get_option("wd_form_maker_version");
210
- $new_version = '1.7.37';
211
  if (!$version) {
212
  add_option("wd_form_maker_version", $new_version, '', 'no');
213
  global $wpdb;
3
  * Plugin Name: Form Maker
4
  * Plugin URI: http://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.7.38
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
207
  // Activate plugin.
208
  function form_maker_activate() {
209
  $version = get_option("wd_form_maker_version");
210
+ $new_version = '1.7.38';
211
  if (!$version) {
212
  add_option("wd_form_maker_version", $new_version, '', 'no');
213
  global $wpdb;
form_maker_insert.php CHANGED
@@ -30,7 +30,7 @@ function from_maker_insert() {
30
  `paypal_email` varchar(50) NOT NULL,
31
  `payment_currency` varchar(20) NOT NULL,
32
  `tax` float NOT NULL,
33
- `form_fields` text NOT NULL,
34
  `savedb` tinyint(4) NOT NULL DEFAULT '1',
35
  `sendemail` tinyint(4) NOT NULL DEFAULT '1',
36
  `requiredmark` varchar(20) NOT NULL DEFAULT '*',
30
  `paypal_email` varchar(50) NOT NULL,
31
  `payment_currency` varchar(20) NOT NULL,
32
  `tax` float NOT NULL,
33
+ `form_fields` longtext NOT NULL,
34
  `savedb` tinyint(4) NOT NULL DEFAULT '1',
35
  `sendemail` tinyint(4) NOT NULL DEFAULT '1',
36
  `requiredmark` varchar(20) NOT NULL DEFAULT '*',
form_maker_update.php CHANGED
@@ -99,6 +99,9 @@ function form_maker_update($version) {
99
  if (version_compare($version, '1.7.35') == -1) {
100
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `mail_emptyfields` tinyint(4) NOT NULL DEFAULT '0'");
101
  }
 
 
 
102
  return;
103
  }
104
 
99
  if (version_compare($version, '1.7.35') == -1) {
100
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `mail_emptyfields` tinyint(4) NOT NULL DEFAULT '0'");
101
  }
102
+ if (version_compare($version, '1.7.38') == -1) {
103
+ $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` CHANGE `form_fields` `form_fields` longtext NOT NULL");
104
+ }
105
  return;
106
  }
107
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-form.html
4
  Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
- Stable tag: 1.7.37
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -277,6 +277,9 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
277
 
278
  == Changelog ==
279
 
 
 
 
280
 
281
  = 1.7.37 =
282
  Optimize csv/xml export
4
  Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
+ Stable tag: 1.7.38
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
277
 
278
  == Changelog ==
279
 
280
+ = 1.7.38 =
281
+ bug fixed in stats
282
+ change field value type to longtext
283
 
284
  = 1.7.37 =
285
  Optimize csv/xml export