Version Description
Download this release
Release Info
Developer | supsystic.com |
Plugin | Contact Form by Supsystic |
Version | 1.7.20 |
Comparing to | |
See all releases |
Code changes from version 1.7.19 to 1.7.20
- cfs.php +1 -1
- classes/req.php +3 -2
- config.php +1 -1
- readme.txt +4 -1
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.
|
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.20
|
6 |
* Author: supsystic.com
|
7 |
* Author URI: https://supsystic.com
|
8 |
* Text Domain: contact-form-by-supsystic
|
classes/req.php
CHANGED
@@ -28,9 +28,10 @@ class reqCfs {
|
|
28 |
<iframe><select><option>';
|
29 |
$keys = array('sub_txt_confirm_mail_message', 'sub_txt_subscriber_mail_subject', 'sub_txt_subscriber_mail_message', 'sub_new_message', 'field_wrapper');
|
30 |
foreach ($array as $key => &$value) {
|
31 |
-
if (in_array($key, $keys)) {
|
32 |
if (!is_array($value)) {
|
33 |
-
$value = strip_tags($value, $allowed);
|
|
|
34 |
}
|
35 |
} else {
|
36 |
if( !is_array($value) ) {
|
28 |
<iframe><select><option>';
|
29 |
$keys = array('sub_txt_confirm_mail_message', 'sub_txt_subscriber_mail_subject', 'sub_txt_subscriber_mail_message', 'sub_new_message', 'field_wrapper');
|
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.
|
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.20');
|
53 |
define('CFS_USER', 'user');
|
54 |
|
55 |
define('CFS_CLASS_PREFIX', 'cfsc');
|
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.
|
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.19 / 30.10.2021 =
|
206 |
* add wp_kses_post fix
|
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.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 |
Contact Form admin interface
|
203 |
|
204 |
== Changelog ==
|
205 |
+
1.7.20 / 04.11.2021 =
|
206 |
+
* Change strip_tags to wp_kses_post
|
207 |
+
|
208 |
1.7.19 / 30.10.2021 =
|
209 |
* add wp_kses_post fix
|
210 |
|