diff --git a/ds-live-composer.php b/ds-live-composer.php index a76af347..10934ccf 100644 --- a/ds-live-composer.php +++ b/ds-live-composer.php @@ -4,7 +4,7 @@ * Plugin URI: https://www.livecomposerplugin.com * Description: Page builder for WordPress with drag and drop header/footer editing. * Author: Live Composer Team - * Version: 1.5.33 + * Version: 1.5.34 * Author URI: https://livecomposerplugin.com * License: GPL3 * License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -41,7 +41,7 @@ * Constants */ - define( 'DS_LIVE_COMPOSER_VER', '1.5.33' ); + define( 'DS_LIVE_COMPOSER_VER', '1.5.34' ); define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) ); define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) ); diff --git a/includes/display-functions.php b/includes/display-functions.php index 1bd8a5a7..299a10bf 100644 --- a/includes/display-functions.php +++ b/includes/display-functions.php @@ -961,9 +961,7 @@ function dslc_json_decode( $raw_code, $ignore_migration = false ) { } else{ - - // $raw_code = maybe_unserialize( stripslashes($raw_code) ); - $raw_code = maybe_unserialize( $raw_code ); + $raw_code = maybe_unserialize( maybe_serialize($raw_code) ); // Array already provided. Do nothing. if ( is_array( $raw_code ) ) { @@ -992,7 +990,7 @@ function dslc_json_decode( $raw_code, $ignore_migration = false ) { } else { // 1. it's old code of the module settings serialized + base64. // Get array out of it. - $decoded = maybe_unserialize( $decoded_base64 ); + $decoded = maybe_unserialize( maybe_serialize($decoded_base64) ); // Add a marker indicating that this module // was imported from shortcode format. diff --git a/readme.txt b/readme.txt index 6b88e655..0b038c23 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: LiveComposer Tags: page builder, landing page builder, frontend page builder, drag and drop page builder, website builder Requires at least: 4.7 Tested up to: 6.4.2 -Stable tag: 1.5.33 +Stable tag: 1.5.34 License: GPLv3 Page builder for WordPress with drag and drop header/footer editing, responsive settings, and animations. Compatible with Gutenberg block editor. @@ -58,6 +58,9 @@ In most of the cases, this is because the homepage is not a real WordPress page, * 🦊 [Check out our WooCommerce Page Builder Extension](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration) * 👀 [We keep updating and improving our extensions pack](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) ACF + CPT + MegaMenu + 9 more add-ons. += 1.5.34 - Feb 21 2024 = +* Security improvement + = 1.5.33 - Feb 05 2024 = * Security improvement