Import / Export Customizer Settings - Version 1.0.4

Version Description

  • Fix: Security hardening.
Download this release

Release Info

Developer brainstormworg
Plugin Icon Import / Export Customizer Settings
Version 1.0.4
Comparing to
See all releases

Code changes from version 1.0.3 to 1.0.4

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.3
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.3' );
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.4
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.4' );
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
@@ -102,7 +102,7 @@ if ( ! class_exists( 'Astra_Import_Export_Loader' ) ) {
102
  */
103
  public function astra_admin_errors() {
104
  // Verify correct source for the $_GET data.
105
- if ( isset( $_GET['_wpnonce'] ) && ! wp_verify_nonce( $_GET['_wpnonce'], 'astra-import-complete' ) ) {
106
  return;
107
  }
108
 
102
  */
103
  public function astra_admin_errors() {
104
  // Verify correct source for the $_GET data.
105
+ if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], 'astra-import-complete' ) ) {
106
  return;
107
  }
108
 
languages/astra-import-export.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the Import / Export Customizer Settings package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Import / Export Customizer Settings 1.0.3\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/astra-import-export\n"
8
- "POT-Creation-Date: 2020-05-18 07:08:21+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the Import / Export Customizer Settings package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Import / Export Customizer Settings 1.0.4\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/astra-import-export\n"
8
+ "POT-Creation-Date: 2020-08-25 06:06:31+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
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.3
7
  Requires PHP: 5.4
8
- Tested up to: 5.5
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.3 =
46
  - Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules.
47
  - Fix: Setting page and after import link White Label compatible.
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.4
7
  Requires PHP: 5.4
8
+ Tested up to: 5.8
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.4 =
46
+ - Fix: Security hardening.
47
+
48
  = 1.0.3 =
49
  - Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules.
50
  - Fix: Setting page and after import link White Label compatible.