ThemeGrill Demo Importer - Version 1.6.2

Version Description

  • 15-02-2020 =
  • Fix - Unauthenticated user vulnerability. Thanks webarxsecurity team
Download this release

Release Info

Developer ThemeGrill
Plugin Icon 128x128 ThemeGrill Demo Importer
Version 1.6.2
Comparing to
See all releases

Code changes from version 1.6.1 to 1.6.2

includes/class-demo-importer.php CHANGED
@@ -377,6 +377,10 @@ class TG_Demo_Importer {
377
public function reset_wizard_actions() {
378
global $wpdb, $current_user;
379
380
if ( ! empty( $_GET['do_reset_wordpress'] ) ) {
381
require_once ABSPATH . '/wp-admin/includes/upgrade.php';
382
377
public function reset_wizard_actions() {
378
global $wpdb, $current_user;
379
380
+ if ( ! current_user_can( 'manage_options' ) ) {
381
+ wp_die( __( 'Cheatin’ huh?', 'themegrill-demo-importer' ) );
382
+ }
383
+
384
if ( ! empty( $_GET['do_reset_wordpress'] ) ) {
385
require_once ABSPATH . '/wp-admin/includes/upgrade.php';
386
includes/class-themegrill-demo-importer.php CHANGED
@@ -20,7 +20,7 @@ final class ThemeGrill_Demo_Importer {
20
*
21
* @var string
22
*/
23
- public $version = '1.6.1';
24
25
/**
26
* Theme single instance of this class.
20
*
21
* @var string
22
*/
23
+ public $version = '1.6.2';
24
25
/**
26
* Theme single instance of this class.
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
Contributors: ThemeGrill, shivapoudel
3
Tags: themegrill, theme demos, demo, importer, one click import
4
Requires at least: 4.7
5
- Tested up to: 5.2.4
6
- Stable tag: 1.6.1
7
License: GPLv3 or later
8
License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
@@ -72,6 +72,9 @@ Yes you can! Join in on our [GitHub repository](https://github.com/themegrill/th
72
3. Finally, Import the Demo with just one click.
73
74
== Changelog ==
75
= 1.6.1 - 12-11-2019 =
76
* Tweak - Add admin notice for `Upgrade To Pro`.
77
2
Contributors: ThemeGrill, shivapoudel
3
Tags: themegrill, theme demos, demo, importer, one click import
4
Requires at least: 4.7
5
+ Tested up to: 5.3
6
+ Stable tag: 1.6.2
7
License: GPLv3 or later
8
License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
72
3. Finally, Import the Demo with just one click.
73
74
== Changelog ==
75
+ = 1.6.2 - 15-02-2020 =
76
+ * Fix - Unauthenticated user vulnerability. Thanks webarxsecurity team
77
+
78
= 1.6.1 - 12-11-2019 =
79
* Tweak - Add admin notice for `Upgrade To Pro`.
80
themegrill-demo-importer.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: ThemeGrill Demo Importer
4
* Plugin URI: https://themegrill.com/demo-importer/
5
* Description: Import ThemeGrill official themes demo content, widgets and theme settings with just one click.
6
- * Version: 1.6.1
7
* Author: ThemeGrill
8
* Author URI: https://themegrill.com
9
* License: GPLv3 or later
3
* Plugin Name: ThemeGrill Demo Importer
4
* Plugin URI: https://themegrill.com/demo-importer/
5
* Description: Import ThemeGrill official themes demo content, widgets and theme settings with just one click.
6
+ * Version: 1.6.2
7
* Author: ThemeGrill
8
* Author URI: https://themegrill.com
9
* License: GPLv3 or later