Contact Bank: WordPress Form Builder for Contact Forms - Version 2.1.29

Version Description

  • Success Message Redirect Bug Fixed
  • Code Optimized
  • Few Minor Bugs Fixed
Download this release

Release Info

Developer contact-banker
Plugin Icon 128x128 Contact Bank: WordPress Form Builder for Contact Forms
Version 2.1.29
Comparing to
See all releases

Code changes from version 2.1.28 to 2.1.29

contact-bank.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Bank Lite Edition
4
  Plugin URI: http://tech-banker.com
5
  Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
6
  Author: Tech Banker
7
- Version: 2.1.28
8
  Author URI: http://tech-banker.com
9
  License: GPLv3 or later
10
  */
4
  Plugin URI: http://tech-banker.com
5
  Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
6
  Author: Tech Banker
7
+ Version: 2.1.29
8
  Author URI: http://tech-banker.com
9
  License: GPLv3 or later
10
  */
frontend_views/contact_bank_forms.php CHANGED
@@ -603,7 +603,7 @@ jQuery("#ux_frm_front_end_form_<?php echo $form_id ."_". $rand_value; ?>").valid
603
  setTimeout(function()
604
  {
605
  jQuery("#form_success_message_frontend_<?php echo $rand_value;?>").css("display","none");
606
- window.location.href = "<?php echo $form_settings_array[$form_id]["redirect_url"];?>";
607
  }, 2000);
608
  });
609
  });
603
  setTimeout(function()
604
  {
605
  jQuery("#form_success_message_frontend_<?php echo $rand_value;?>").css("display","none");
606
+ window.location.href = "<?php echo htmlspecialchars_decode($form_settings_array[$form_id]["redirect_url"]);?>";
607
  }, 2000);
608
  });
609
  });
lib/contact_view-class.php CHANGED
@@ -184,7 +184,7 @@ else
184
  $form_settings_data["success_message"] = esc_html($form_settings["ux_txt_success_message"]);
185
  $form_settings_data["form_description"] = esc_html($form_settings["ux_txt_form_description"]);
186
  $form_settings_data["redirect"] = esc_html($form_settings["ux_rdl_redirect"]);
187
- $form_settings_data["redirect_url"] = esc_html($form_settings["ux_ddl_page_url"]);
188
  $form_settings_data["form_name"] = esc_html($form_settings["ux_txt_form_name"]);
189
 
190
  $array_delete_form_controls = json_decode(stripcslashes($_REQUEST["array_delete_form_controls"]),true);
@@ -342,7 +342,7 @@ else
342
  {
343
  $id = $element["dynamic_id"];
344
  $control_type = $element["control_type"];
345
-
346
  if($event == "add")
347
  {
348
  $wpdb->query
184
  $form_settings_data["success_message"] = esc_html($form_settings["ux_txt_success_message"]);
185
  $form_settings_data["form_description"] = esc_html($form_settings["ux_txt_form_description"]);
186
  $form_settings_data["redirect"] = esc_html($form_settings["ux_rdl_redirect"]);
187
+ $form_settings_data["redirect_url"] = $form_settings["ux_rdl_redirect"] == "0" ? esc_html($form_settings["ux_ddl_page_url"]) : esc_html($form_settings["ux_txt_redirect_url"]);
188
  $form_settings_data["form_name"] = esc_html($form_settings["ux_txt_form_name"]);
189
 
190
  $array_delete_form_controls = json_decode(stripcslashes($_REQUEST["array_delete_form_controls"]),true);
342
  {
343
  $id = $element["dynamic_id"];
344
  $control_type = $element["control_type"];
345
+
346
  if($event == "add")
347
  {
348
  $wpdb->query
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: contact-banker, Gallery-Bank
3
  Tags: advanced form, best contact form plugin, contact form builder, contact manager, contact us form, custom form, feedback form, web form, contact us, contact bank, contact form, forms
4
  Requires at least: 3.1
5
- Tested up to: 4.6
6
- Stable tag: 2.1.28
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -549,6 +549,12 @@ In order to set Shortcode for a Form, you need to follow these steps :
549
 
550
  == Changelog ==
551
 
 
 
 
 
 
 
552
  = 2.1.28 =
553
 
554
  * Code Optimized
2
  Contributors: contact-banker, Gallery-Bank
3
  Tags: advanced form, best contact form plugin, contact form builder, contact manager, contact us form, custom form, feedback form, web form, contact us, contact bank, contact form, forms
4
  Requires at least: 3.1
5
+ Tested up to: 4.6.1
6
+ Stable tag: 2.1.29
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
549
 
550
  == Changelog ==
551
 
552
+ = 2.1.29 =
553
+
554
+ * Success Message Redirect Bug Fixed
555
+ * Code Optimized
556
+ * Few Minor Bugs Fixed
557
+
558
  = 2.1.28 =
559
 
560
  * Code Optimized