Version Description
- Fixed: CSS decode when esc_attr replaces the HTML characters and CSS outputs are set with >'s.
- Release date: July 29, 2020
Download this release
Release Info
Developer | dovyp |
Plugin | Redux Framework |
Version | 4.1.1 |
Comparing to | |
See all releases |
Code changes from version 4.1.0 to 4.1.1
- composer.json +1 -1
- readme.txt +6 -2
- redux-core/framework.php +1 -1
- redux-core/inc/classes/class-redux-output.php +1 -1
- redux-framework.php +1 -1
composer.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "reduxframework/redux-framework-4",
|
3 |
-
"version": "4.1.
|
4 |
"authors": [
|
5 |
{
|
6 |
"name": "Redux.io",
|
1 |
{
|
2 |
"name": "reduxframework/redux-framework-4",
|
3 |
+
"version": "4.1.1",
|
4 |
"authors": [
|
5 |
{
|
6 |
"name": "Redux.io",
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: admin, admin interface, options, theme options, plugin options, options fr
|
|
5 |
Requires at least: 4.0
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.5
|
8 |
-
Stable tag: 4.1.
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -131,9 +131,13 @@ That's because the real FAQ section is on our site! Please visit [http://docs.re
|
|
131 |
|
132 |
== Changelog ==
|
133 |
|
|
|
|
|
|
|
|
|
134 |
= 4.1.0 =
|
135 |
* Fixed: Compatibility with certain themes using the deprecated $_is_plugin variable.
|
136 |
-
* Release date: July
|
137 |
|
138 |
= 4.0.9 =
|
139 |
* Fixed: Complete compatibility fix for older Redux extensions.
|
5 |
Requires at least: 4.0
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.5
|
8 |
+
Stable tag: 4.1.1
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
131 |
|
132 |
== Changelog ==
|
133 |
|
134 |
+
= 4.1.1 =
|
135 |
+
* Fixed: CSS decode when esc_attr replaces the HTML characters and CSS outputs are set with >'s.
|
136 |
+
* Release date: July 29, 2020
|
137 |
+
|
138 |
= 4.1.0 =
|
139 |
* Fixed: Compatibility with certain themes using the deprecated $_is_plugin variable.
|
140 |
+
* Release date: July 29, 2020
|
141 |
|
142 |
= 4.0.9 =
|
143 |
* Fixed: Complete compatibility fix for older Redux extensions.
|
redux-core/framework.php
CHANGED
@@ -23,7 +23,7 @@ defined( 'ABSPATH' ) || exit;
|
|
23 |
|
24 |
require_once dirname( __FILE__ ) . '/class-redux-core.php';
|
25 |
|
26 |
-
Redux_Core::$version = '4.1.
|
27 |
Redux_Core::$redux_path = dirname( __FILE__ );
|
28 |
Redux_Core::instance();
|
29 |
|
23 |
|
24 |
require_once dirname( __FILE__ ) . '/class-redux-core.php';
|
25 |
|
26 |
+
Redux_Core::$version = '4.1.1';
|
27 |
Redux_Core::$redux_path = dirname( __FILE__ );
|
28 |
Redux_Core::instance();
|
29 |
|
redux-core/inc/classes/class-redux-output.php
CHANGED
@@ -303,7 +303,7 @@ if ( ! class_exists( 'Redux_Output', false ) ) {
|
|
303 |
// phpcs:ignore WordPress.NamingConventions.ValidVariableName
|
304 |
if ( ! empty( $core->outputCSS ) && ( true === $core->args['output_tag'] || ( isset( $_POST['customized'] ) && isset( $_POST['nonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['nonce'] ) ), 'preview-customize_' . wp_get_theme()->get_stylesheet() ) ) ) ) {
|
305 |
// phpcs:ignore WordPress.NamingConventions.ValidVariableName, WordPress.Security.EscapeOutput
|
306 |
-
echo '<style type="text/css" id="' . esc_attr( $core->args['opt_name'] ) . '-dynamic-css" title="dynamic-css" class="redux-options-output">' . $core->outputCSS . '</style>';
|
307 |
}
|
308 |
}
|
309 |
|
303 |
// phpcs:ignore WordPress.NamingConventions.ValidVariableName
|
304 |
if ( ! empty( $core->outputCSS ) && ( true === $core->args['output_tag'] || ( isset( $_POST['customized'] ) && isset( $_POST['nonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['nonce'] ) ), 'preview-customize_' . wp_get_theme()->get_stylesheet() ) ) ) ) {
|
305 |
// phpcs:ignore WordPress.NamingConventions.ValidVariableName, WordPress.Security.EscapeOutput
|
306 |
+
echo '<style type="text/css" id="' . esc_attr( $core->args['opt_name'] ) . '-dynamic-css" title="dynamic-css" class="redux-options-output">' . html_entity_decode( $core->outputCSS ) . '</style>';
|
307 |
}
|
308 |
}
|
309 |
|
redux-framework.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Description: Build better sites in WordPress fast
|
11 |
* Author: Redux.io + Dovy Paukstys
|
12 |
* Author URI: http://redux.io
|
13 |
-
* Version: 4.1.
|
14 |
* Text Domain: redux-framework
|
15 |
* License: GPLv3 or later
|
16 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
10 |
* Description: Build better sites in WordPress fast
|
11 |
* Author: Redux.io + Dovy Paukstys
|
12 |
* Author URI: http://redux.io
|
13 |
+
* Version: 4.1.1
|
14 |
* Text Domain: redux-framework
|
15 |
* License: GPLv3 or later
|
16 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|