Skip to content

Commit 1625dc5

Browse files
authored
Merge pull request #15 from brainstormforce/nonce-notice
fix: Security Update.
2 parents 7f82e3d + 14b8231 commit 1625dc5

5 files changed

Lines changed: 13 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Donate link:** https://www.brainstormforce.com/payment/
44
**Requires at least:** 4.4
55
**Tags:** astra addons export, import, settings, customizer settings, theme settings, theme options
6-
**Stable tag:** 1.0.3
6+
**Stable tag:** 1.0.4
77
**Requires PHP:** 5.4
88
**Tested up to:** 5.5
99
**License:** GPLv2 or later
@@ -42,6 +42,9 @@ Yes! Astra Pro settings that are available with customizer can be imported/expor
4242

4343
## Changelog ##
4444

45+
### 1.0.4 ###
46+
- Fix: Security hardening.
47+
4548
### 1.0.3 ###
4649
- Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules.
4750
- Fix: Setting page and after import link White Label compatible.

astra-import-export.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Import / Export Customizer Settings
44
* Plugin URI: https://wpastra.com/
55
* 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
6+
* Version: 1.0.4
77
* Author: Brainstorm Force
88
* Author URI: http://www.brainstormforce.com
99
* Text Domain: astra-import-export
@@ -18,7 +18,7 @@
1818
/**
1919
* Set constants.
2020
*/
21-
define( 'ASTRA_IMPORT_EXPORT_VER', '1.0.3' );
21+
define( 'ASTRA_IMPORT_EXPORT_VER', '1.0.4' );
2222
define( 'ASTRA_IMPORT_EXPORT_FILE', __FILE__ );
2323
define( 'ASTRA_IMPORT_EXPORT_BASE', plugin_basename( ASTRA_IMPORT_EXPORT_FILE ) );
2424
define( 'ASTRA_IMPORT_EXPORT_DIR', plugin_dir_path( ASTRA_IMPORT_EXPORT_FILE ) );

inc/classes/class-astra-import-export-loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function astra_import_export_section() {
102102
*/
103103
public function astra_admin_errors() {
104104
// Verify correct source for the $_GET data.
105-
if ( isset( $_GET['_wpnonce'] ) && ! wp_verify_nonce( $_GET['_wpnonce'], 'astra-import-complete' ) ) {
105+
if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], 'astra-import-complete' ) ) {
106106
return;
107107
}
108108

languages/astra-import-export.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is distributed under the same license as the Import / Export Customizer Settings package.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Import / Export Customizer Settings 1.0.3\n"
5+
"Project-Id-Version: Import / Export Customizer Settings 1.0.4\n"
66
"Report-Msgid-Bugs-To: "
77
"https://wordpress.org/support/plugin/astra-import-export\n"
8-
"POT-Creation-Date: 2020-05-18 07:08:21+00:00\n"
8+
"POT-Creation-Date: 2020-08-25 06:06:31+00:00\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=utf-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: brainstormforce
33
Donate link: https://www.brainstormforce.com/payment/
44
Requires at least: 4.4
55
Tags: astra addons export, import, settings, customizer settings, theme settings, theme options
6-
Stable tag: 1.0.3
6+
Stable tag: 1.0.4
77
Requires PHP: 5.4
88
Tested up to: 5.5
99
License: GPLv2 or later
@@ -42,6 +42,9 @@ Yes! Astra Pro settings that are available with customizer can be imported/expor
4242

4343
== Changelog ==
4444

45+
= 1.0.4 =
46+
- Fix: Security hardening.
47+
4548
= 1.0.3 =
4649
- Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules.
4750
- Fix: Setting page and after import link White Label compatible.

0 commit comments

Comments
 (0)