From c6d9f624ee639aff31e83bf8fff4778158778c00 Mon Sep 17 00:00:00 2001 From: Bishal Napit Date: Tue, 25 Sep 2018 11:02:07 +0545 Subject: [PATCH] Changelog updated --- CHANGELOG.txt | 4 ++++ includes/importers/class-customizer-importer.php | 2 +- readme.txt | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index a6d18a93..c4e38e68 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,9 @@ == Changelog == += TBD = +* Fix - Custom CSS migration on demo import. +* Fix - Live Preview button when demo is successfully imported in demo preview page. + = 1.5.1 - 24-08-2018 = * Support - Cenote Pro theme. diff --git a/includes/importers/class-customizer-importer.php b/includes/importers/class-customizer-importer.php index c3b1d088..60758306 100644 --- a/includes/importers/class-customizer-importer.php +++ b/includes/importers/class-customizer-importer.php @@ -71,7 +71,7 @@ public static function import( $import_file, $demo_id, $demo_data ) { } // If wp_css is set then import it. - if( function_exists( 'wp_update_custom_css_post' ) && isset( $data['wp_css'] ) && '' !== $data['wp_css'] ) { + if ( function_exists( 'wp_update_custom_css_post' ) && isset( $data['wp_css'] ) && '' !== $data['wp_css'] ) { wp_update_custom_css_post( $data['wp_css'] ); } diff --git a/readme.txt b/readme.txt index d91d1bde..36c7d6d8 100644 --- a/readme.txt +++ b/readme.txt @@ -75,6 +75,7 @@ Yes you can! Join in on our [GitHub repository](https://github.com/themegrill/th = TBD = * Fix - Custom CSS migration on demo import. +* Fix - Live Preview button when demo is successfully imported in demo preview page. = 1.5.1 - 24-08-2018 = * Support - Cenote Pro theme.