Version Description
- 2022-03-10 =
FIX: Prevent sanitization error
Download this release
Release Info
Developer | buzztone |
Plugin | Contact Form 7 Skins |
Version | 2.5.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5.2
- includes/sanitize.php +8 -1
- index.php +2 -2
- readme.txt +4 -1
includes/sanitize.php
CHANGED
@@ -57,7 +57,14 @@ function cf7skins_sanitize_visual_data( $data ) {
|
|
57 |
case 'cf7sLabel':
|
58 |
case 'cf7sIcon':
|
59 |
default:
|
60 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
break;
|
62 |
}
|
63 |
}
|
57 |
case 'cf7sLabel':
|
58 |
case 'cf7sIcon':
|
59 |
default:
|
60 |
+
// Check if value is an array (non-multidimensional) or string
|
61 |
+
if ( is_array( $value ) ) {
|
62 |
+
foreach( $value as $k => $v ) {
|
63 |
+
$data[ $index ]->$key[$k] = sanitize_text_field( $v );
|
64 |
+
}
|
65 |
+
} else {
|
66 |
+
$data[ $index ]->$key = sanitize_text_field( $value );
|
67 |
+
}
|
68 |
break;
|
69 |
}
|
70 |
}
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Skins for Contact Form 7
|
4 |
* Plugin URI: http://cf7skins.com
|
5 |
* Description: Adds drag & drop Visual Editor with Templates & Styles to Contact Form 7. Requires Contact Form 7.
|
6 |
-
* Version: 2.5.
|
7 |
* Author: Neil Murray
|
8 |
* Author URI: http://cf7skins.com
|
9 |
* License: GPL-2.0+
|
@@ -30,7 +30,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
30 |
*
|
31 |
* @since 0.1.0
|
32 |
*/
|
33 |
-
define( 'CF7SKINS_VERSION', '2.5.
|
34 |
define( 'CF7SKINS_OPTIONS', 'cf7skins' ); // Database option names
|
35 |
define( 'CF7SKINS_TEXTDOMAIN', 'contact-form-7-skins' );
|
36 |
define( 'CF7SKINS_FEATURE_FILTER', false ); // @since 0.4.0
|
3 |
* Plugin Name: Skins for Contact Form 7
|
4 |
* Plugin URI: http://cf7skins.com
|
5 |
* Description: Adds drag & drop Visual Editor with Templates & Styles to Contact Form 7. Requires Contact Form 7.
|
6 |
+
* Version: 2.5.2
|
7 |
* Author: Neil Murray
|
8 |
* Author URI: http://cf7skins.com
|
9 |
* License: GPL-2.0+
|
30 |
*
|
31 |
* @since 0.1.0
|
32 |
*/
|
33 |
+
define( 'CF7SKINS_VERSION', '2.5.2' );
|
34 |
define( 'CF7SKINS_OPTIONS', 'cf7skins' ); // Database option names
|
35 |
define( 'CF7SKINS_TEXTDOMAIN', 'contact-form-7-skins' );
|
36 |
define( 'CF7SKINS_FEATURE_FILTER', false ); // @since 0.4.0
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: contact form 7, contact form 7 addon, contact form 7 style, contact form 7
|
|
4 |
Requires at least: 4.3
|
5 |
Tested up to: 5.9.1
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 2.5.
|
8 |
Author URI: https://cf7skins.com
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -122,6 +122,9 @@ Absolutely not. You can create and manage Contact Form 7 forms without any codin
|
|
122 |
|
123 |
== Changelog ==
|
124 |
|
|
|
|
|
|
|
125 |
|
126 |
= 2.5.1 - 2022-01-14 =
|
127 |
|
4 |
Requires at least: 4.3
|
5 |
Tested up to: 5.9.1
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 2.5.2
|
8 |
Author URI: https://cf7skins.com
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
122 |
|
123 |
== Changelog ==
|
124 |
|
125 |
+
= 2.5.2 - 2022-03-10 =
|
126 |
+
|
127 |
+
FIX: Prevent sanitization error
|
128 |
|
129 |
= 2.5.1 - 2022-01-14 =
|
130 |
|