One Click Demo Import - Version 3.1.1

Version Description

Release Date - 22nd March 2022

  • Fixed missing sanitization for the redux option name.
Download this release

Release Info

Developer capuderg
Plugin Icon 128x128 One Click Demo Import
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.1.0 to 3.1.1

inc/Helpers.php CHANGED
@@ -524,7 +524,7 @@ class Helpers {
524
  // Set uploaded Redux file.
525
  $selected_import_files['redux'] = array(
526
  array(
527
- 'option_name' => $_POST['redux_option_name'],
528
  'file_path' => $redux_file_info['file'],
529
  ),
530
  );
524
  // Set uploaded Redux file.
525
  $selected_import_files['redux'] = array(
526
  array(
527
+ 'option_name' => sanitize_text_field( $_POST['redux_option_name'] ),
528
  'file_path' => $redux_file_info['file'],
529
  ),
530
  );
languages/one-click-demo-import.pot CHANGED
@@ -1,13 +1,13 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: One Click Demo Import 3.1.0\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-click-demo-import\n"
5
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
6
  "Language-Team: LANGUAGE <LL@li.org>\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
- "POT-Creation-Date: 2022-03-18T11:33:12+00:00\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "X-Generator: WP-CLI 2.4.0\n"
13
  "X-Domain: one-click-demo-import\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: One Click Demo Import 3.1.1\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-click-demo-import\n"
5
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
6
  "Language-Team: LANGUAGE <LL@li.org>\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
+ "POT-Creation-Date: 2022-03-22T06:17:28+00:00\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "X-Generator: WP-CLI 2.4.0\n"
13
  "X-Domain: one-click-demo-import\n"
one-click-demo-import.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: One Click Demo Import
5
  Plugin URI: https://wordpress.org/plugins/one-click-demo-import/
6
  Description: Import your content, widgets and theme settings with one click. Theme authors! Enable simple demo import for your theme demo data.
7
- Version: 3.1.0
8
  Author: OCDI
9
  Author URI: https://ocdi.com
10
  License: GPL3
4
  Plugin Name: One Click Demo Import
5
  Plugin URI: https://wordpress.org/plugins/one-click-demo-import/
6
  Description: Import your content, widgets and theme settings with one click. Theme authors! Enable simple demo import for your theme demo data.
7
+ Version: 3.1.1
8
  Author: OCDI
9
  Author URI: https://ocdi.com
10
  License: GPL3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: import, content, demo, data, widgets, settings, redux, theme options
4
  Requires at least: 5.2
5
  Tested up to: 5.9
6
  Requires PHP: 5.6
7
- Stable tag: 3.1.0
8
  License: GPLv3 or later
9
 
10
  Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple theme demo import for your users.
@@ -359,6 +359,12 @@ Please visit this [docs page](https://github.com/awesomemotive/one-click-demo-im
359
 
360
  == Changelog ==
361
 
 
 
 
 
 
 
362
  = 3.1.0 =
363
 
364
  *Release Date - 18th March 2022*
4
  Requires at least: 5.2
5
  Tested up to: 5.9
6
  Requires PHP: 5.6
7
+ Stable tag: 3.1.1
8
  License: GPLv3 or later
9
 
10
  Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple theme demo import for your users.
359
 
360
  == Changelog ==
361
 
362
+ = 3.1.1 =
363
+
364
+ *Release Date - 22nd March 2022*
365
+
366
+ * Fixed missing sanitization for the redux option name.
367
+
368
  = 3.1.0 =
369
 
370
  *Release Date - 18th March 2022*