Version Description
- Fix: PHP notice while importing the settings - Undefined index astra-addons
Download this release
Release Info
Developer | brainstormworg |
Plugin | Import / Export Customizer Settings |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
astra-import-export.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Import / Export Customizer Settings
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: This plugin is an add-on for the Astra WordPress Theme. It will help in Import Export Customizer settings.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: http://www.brainstormforce.com
|
9 |
* Text Domain: astra-import-export
|
@@ -18,7 +18,7 @@ if ( 'astra' !== get_template() ) {
|
|
18 |
/**
|
19 |
* Set constants.
|
20 |
*/
|
21 |
-
define( 'ASTRA_IMPORT_EXPORT_VER', '1.0.
|
22 |
define( 'ASTRA_IMPORT_EXPORT_FILE', __FILE__ );
|
23 |
define( 'ASTRA_IMPORT_EXPORT_BASE', plugin_basename( ASTRA_IMPORT_EXPORT_FILE ) );
|
24 |
define( 'ASTRA_IMPORT_EXPORT_DIR', plugin_dir_path( ASTRA_IMPORT_EXPORT_FILE ) );
|
3 |
* Plugin Name: Import / Export Customizer Settings
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: This plugin is an add-on for the Astra WordPress Theme. It will help in Import Export Customizer settings.
|
6 |
+
* Version: 1.0.6
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: http://www.brainstormforce.com
|
9 |
* Text Domain: astra-import-export
|
18 |
/**
|
19 |
* Set constants.
|
20 |
*/
|
21 |
+
define( 'ASTRA_IMPORT_EXPORT_VER', '1.0.6' );
|
22 |
define( 'ASTRA_IMPORT_EXPORT_FILE', __FILE__ );
|
23 |
define( 'ASTRA_IMPORT_EXPORT_BASE', plugin_basename( ASTRA_IMPORT_EXPORT_FILE ) );
|
24 |
define( 'ASTRA_IMPORT_EXPORT_DIR', plugin_dir_path( ASTRA_IMPORT_EXPORT_FILE ) );
|
inc/classes/class-astra-import-export-loader.php
CHANGED
@@ -163,7 +163,7 @@ if ( ! class_exists( 'Astra_Import_Export_Loader' ) ) {
|
|
163 |
$settings = json_decode( $file_contants, 1 );
|
164 |
|
165 |
// Astra addons activation.
|
166 |
-
if ( class_exists( 'Astra_Admin_Helper' ) ) {
|
167 |
Astra_Admin_Helper::update_admin_settings_option( '_astra_ext_enabled_extensions', $settings['astra-addons'] );
|
168 |
}
|
169 |
|
163 |
$settings = json_decode( $file_contants, 1 );
|
164 |
|
165 |
// Astra addons activation.
|
166 |
+
if ( class_exists( 'Astra_Admin_Helper' ) && isset( $settings['astra-addons'] ) ) {
|
167 |
Astra_Admin_Helper::update_admin_settings_option( '_astra_ext_enabled_extensions', $settings['astra-addons'] );
|
168 |
}
|
169 |
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: brainstormforce
|
|
3 |
Donate link: https://www.brainstormforce.com/payment/
|
4 |
Requires at least: 4.4
|
5 |
Tags: astra addons export, import, settings, customizer settings, theme settings, theme options
|
6 |
-
Stable tag: 1.0.
|
7 |
Requires PHP: 5.4
|
8 |
-
Tested up to:
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -42,6 +42,9 @@ Yes! Astra Pro settings that are available with customizer can be imported/expor
|
|
42 |
|
43 |
== Changelog ==
|
44 |
|
|
|
|
|
|
|
45 |
= 1.0.5 =
|
46 |
- Improvement: Added Astra Global Color Palette and Typography Preset options compatibility.
|
47 |
|
3 |
Donate link: https://www.brainstormforce.com/payment/
|
4 |
Requires at least: 4.4
|
5 |
Tags: astra addons export, import, settings, customizer settings, theme settings, theme options
|
6 |
+
Stable tag: 1.0.6
|
7 |
Requires PHP: 5.4
|
8 |
+
Tested up to: 6.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
42 |
|
43 |
== Changelog ==
|
44 |
|
45 |
+
= 1.0.6 =
|
46 |
+
- Fix: PHP notice while importing the settings - Undefined index astra-addons
|
47 |
+
|
48 |
= 1.0.5 =
|
49 |
- Improvement: Added Astra Global Color Palette and Typography Preset options compatibility.
|
50 |
|