Contact Form by Supsystic - Version 1.7.21

Version Description

Download this release

Release Info

Developer supsystic.com
Plugin Icon 128x128 Contact Form by Supsystic
Version 1.7.21
Comparing to
See all releases

Code changes from version 1.7.20 to 1.7.21

cfs.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Contact Form by Supsystic
4
  * Description: Contact Form Builder with drag-and-drop editor to create responsive, mobile ready contact forms in a second. Custom fields and contact form templates
5
- * Version: 1.7.20
6
  * Author: supsystic.com
7
  * Author URI: https://supsystic.com
8
  * Text Domain: contact-form-by-supsystic
2
  /**
3
  * Plugin Name: Contact Form by Supsystic
4
  * Description: Contact Form Builder with drag-and-drop editor to create responsive, mobile ready contact forms in a second. Custom fields and contact form templates
5
+ * Version: 1.7.21
6
  * Author: supsystic.com
7
  * Author URI: https://supsystic.com
8
  * Text Domain: contact-form-by-supsystic
classes/req.php CHANGED
@@ -30,8 +30,8 @@ class reqCfs {
30
  foreach ($array as $key => &$value) {
31
  if (in_array($key, $keys, true)) { // third param true, because if its false when key = 0 => in_array = true
32
  if (!is_array($value)) {
33
- // $value = strip_tags($value, $allowed);
34
- $value = wp_kses_post($value);
35
  }
36
  } else {
37
  if( !is_array($value) ) {
30
  foreach ($array as $key => &$value) {
31
  if (in_array($key, $keys, true)) { // third param true, because if its false when key = 0 => in_array = true
32
  if (!is_array($value)) {
33
+ $value = strip_tags($value, $allowed);
34
+ // $value = wp_kses_post($value);
35
  }
36
  } else {
37
  if( !is_array($value) ) {
config.php CHANGED
@@ -49,7 +49,7 @@
49
  define('CFS_EOL', "\n");
50
 
51
  define('CFS_PLUGIN_INSTALLED', true);
52
- define('CFS_VERSION', '1.7.20');
53
  define('CFS_USER', 'user');
54
 
55
  define('CFS_CLASS_PREFIX', 'cfsc');
49
  define('CFS_EOL', "\n");
50
 
51
  define('CFS_PLUGIN_INSTALLED', true);
52
+ define('CFS_VERSION', '1.7.21');
53
  define('CFS_USER', 'user');
54
 
55
  define('CFS_CLASS_PREFIX', 'cfsc');
modules/forms/js/admin.forms.edit.js CHANGED
@@ -96,7 +96,7 @@ jQuery(document).ready(function(){
96
  setTimeout(function(){
97
  jQuery("#cfsFormPreviewFrame").contents().find('head').append('<link rel="stylesheet" href="'+frontendStyles['cfs.frontend.forms']+'" type="text/css" />');
98
  jQuery("#cfsFormPreviewFrame").contents().find('head').append('<link rel="stylesheet" href="'+frontendStyles['supTablesUi']+'" type="text/css" />');
99
- }, 500);
100
  }
101
  cfsSaveWithoutPreviewUpdate = false;
102
  if(cssSet && cssEditor) {
96
  setTimeout(function(){
97
  jQuery("#cfsFormPreviewFrame").contents().find('head').append('<link rel="stylesheet" href="'+frontendStyles['cfs.frontend.forms']+'" type="text/css" />');
98
  jQuery("#cfsFormPreviewFrame").contents().find('head').append('<link rel="stylesheet" href="'+frontendStyles['supTablesUi']+'" type="text/css" />');
99
+ }, 1000);
100
  }
101
  cfsSaveWithoutPreviewUpdate = false;
102
  if(cssSet && cssEditor) {
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: supsystic.com
3
  Tags: contact, contact form, contact form builder, contact form maker, contact form manager, contact form plugin, contact forms, custom form, feedback form, form, forms, forms creator
4
  Tested up to: 5.8
5
- Stable tag: 1.7.20
6
 
7
  Contact Form Builder with drag-and-drop editor to create responsive, mobile ready contact forms in a second. Custom fields and contact form templates
8
 
@@ -202,6 +202,9 @@ Using Contact Form plugin on your WordPress site, you start a really responsive
202
  Contact Form admin interface
203
 
204
  == Changelog ==
 
 
 
205
  1.7.20 / 04.11.2021 =
206
  * Change strip_tags to wp_kses_post
207
 
2
  Contributors: supsystic.com
3
  Tags: contact, contact form, contact form builder, contact form maker, contact form manager, contact form plugin, contact forms, custom form, feedback form, form, forms, forms creator
4
  Tested up to: 5.8
5
+ Stable tag: 1.7.21
6
 
7
  Contact Form Builder with drag-and-drop editor to create responsive, mobile ready contact forms in a second. Custom fields and contact form templates
8
 
202
  Contact Form admin interface
203
 
204
  == Changelog ==
205
+ 1.7.21 / 05.11.2021 =
206
+ * Add fix for striptags
207
+
208
  1.7.20 / 04.11.2021 =
209
  * Change strip_tags to wp_kses_post
210