Version Description
Download this release
Release Info
| Developer | creativethemeshq |
| Plugin | |
| Version | 1.8.9 |
| Comparing to | |
| See all releases | |
Code changes from version 1.8.8.8 to 1.8.9
- blocksy-companion.php +1 -1
- framework/extensions/cookies-consent/static/bundle/main.min.css +1 -1
- framework/extensions/newsletter-subscribe/static/bundle/main.min.css +1 -1
- framework/extensions/product-reviews/static/bundle/main-admin.min.css +1 -1
- framework/extensions/product-reviews/static/bundle/main.min.css +1 -1
- framework/extensions/trending/static/bundle/main.min.css +1 -1
- framework/extensions/widgets/static/bundle/main.min.css +1 -1
- framework/features/customizer-options-manager.php +6 -3
- readme.txt +4 -1
- static/bundle/dashboard.min.css +1 -1
- static/bundle/main.min.css +1 -1
- static/bundle/options.min.css +1 -1
- static/js/options/CustomizerOptionsManager.js +3 -8
blocksy-companion.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/*
|
| 4 |
Plugin Name: Blocksy Companion
|
| 5 |
Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
|
| 6 |
-
Version: 1.8.
|
| 7 |
Author: CreativeThemes
|
| 8 |
Author URI: https://creativethemes.com
|
| 9 |
Text Domain: blc
|
| 3 |
/*
|
| 4 |
Plugin Name: Blocksy Companion
|
| 5 |
Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
|
| 6 |
+
Version: 1.8.9
|
| 7 |
Author: CreativeThemes
|
| 8 |
Author URI: https://creativethemes.com
|
| 9 |
Text Domain: blc
|
framework/extensions/cookies-consent/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/newsletter-subscribe/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/product-reviews/static/bundle/main-admin.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/product-reviews/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/trending/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/widgets/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/features/customizer-options-manager.php
CHANGED
|
@@ -47,9 +47,12 @@ class CustomizerOptionsManager {
|
|
| 47 |
// Ensure only stdClass is allowed
|
| 48 |
// We need it for properly decoding widget data. Custom classes
|
| 49 |
// besides stdClass are not allowed.
|
| 50 |
-
$data = @unserialize(
|
| 51 |
-
|
| 52 |
-
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
// The above code will only import stuff from $data['mods']
|
| 55 |
// that is actually a customizer control. Everything else will be ignored
|
| 47 |
// Ensure only stdClass is allowed
|
| 48 |
// We need it for properly decoding widget data. Custom classes
|
| 49 |
// besides stdClass are not allowed.
|
| 50 |
+
$data = @unserialize(
|
| 51 |
+
str_replace("\r\n", "\n", wp_unslash($_POST['data'])),
|
| 52 |
+
[
|
| 53 |
+
'allowed_classes' => ['stdClass']
|
| 54 |
+
]
|
| 55 |
+
);
|
| 56 |
|
| 57 |
// The above code will only import stuff from $data['mods']
|
| 58 |
// that is actually a customizer control. Everything else will be ignored
|
readme.txt
CHANGED
|
@@ -5,7 +5,7 @@ Requires PHP: 7.0
|
|
| 5 |
Tested up to: 5.8
|
| 6 |
License: GPLv2 or later
|
| 7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 8 |
-
Stable tag: 1.8.
|
| 9 |
|
| 10 |
== Description ==
|
| 11 |
|
|
@@ -23,6 +23,9 @@ It runs and adds its enhancements only if the Blocksy theme is installed and act
|
|
| 23 |
2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
|
| 24 |
|
| 25 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
| 26 |
1.8.8.8: 2021-09-17
|
| 27 |
- Improvement: General fixes and improvements
|
| 28 |
|
| 5 |
Tested up to: 5.8
|
| 6 |
License: GPLv2 or later
|
| 7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 8 |
+
Stable tag: 1.8.9
|
| 9 |
|
| 10 |
== Description ==
|
| 11 |
|
| 23 |
2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
|
| 24 |
|
| 25 |
== Changelog ==
|
| 26 |
+
1.8.9: 2021-09-21
|
| 27 |
+
- Improvement: Customizer export/import functionality
|
| 28 |
+
|
| 29 |
1.8.8.8: 2021-09-17
|
| 30 |
- Improvement: General fixes and improvements
|
| 31 |
|
static/bundle/dashboard.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
static/bundle/options.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
static/js/options/CustomizerOptionsManager.js
CHANGED
|
@@ -82,10 +82,7 @@ const CustomizerOptionsManager = () => {
|
|
| 82 |
<h3>{__('Export Options', 'blc')}</h3>
|
| 83 |
|
| 84 |
<div className="ct-option-description">
|
| 85 |
-
{__(
|
| 86 |
-
'Easily export the theme customizer settings.',
|
| 87 |
-
'blc'
|
| 88 |
-
)}
|
| 89 |
</div>
|
| 90 |
</div>
|
| 91 |
|
|
@@ -108,10 +105,7 @@ const CustomizerOptionsManager = () => {
|
|
| 108 |
<h3>{__('Import Options', 'blc')}</h3>
|
| 109 |
|
| 110 |
<div className="ct-option-description">
|
| 111 |
-
{__(
|
| 112 |
-
'Easily import the theme customizer settings.',
|
| 113 |
-
'blc'
|
| 114 |
-
)}
|
| 115 |
</div>
|
| 116 |
</div>
|
| 117 |
|
|
@@ -160,6 +154,7 @@ const CustomizerOptionsManager = () => {
|
|
| 160 |
|
| 161 |
var reader = new FileReader()
|
| 162 |
reader.readAsText(futureConfig, 'UTF-8')
|
|
|
|
| 163 |
reader.onload = function (evt) {
|
| 164 |
const body = new FormData()
|
| 165 |
|
| 82 |
<h3>{__('Export Options', 'blc')}</h3>
|
| 83 |
|
| 84 |
<div className="ct-option-description">
|
| 85 |
+
{__('Easily export the theme customizer settings.', 'blc')}
|
|
|
|
|
|
|
|
|
|
| 86 |
</div>
|
| 87 |
</div>
|
| 88 |
|
| 105 |
<h3>{__('Import Options', 'blc')}</h3>
|
| 106 |
|
| 107 |
<div className="ct-option-description">
|
| 108 |
+
{__('Easily import the theme customizer settings.', 'blc')}
|
|
|
|
|
|
|
|
|
|
| 109 |
</div>
|
| 110 |
</div>
|
| 111 |
|
| 154 |
|
| 155 |
var reader = new FileReader()
|
| 156 |
reader.readAsText(futureConfig, 'UTF-8')
|
| 157 |
+
|
| 158 |
reader.onload = function (evt) {
|
| 159 |
const body = new FormData()
|
| 160 |
|
