Advanced WordPress Reset - Version 1.6

Version Description

  • 01/07/2022 =
  • Security fix: enhancing the security of the plugin by escaping some URLs before outputting them
Download this release

Release Info

Developer symptote
Plugin Icon 128x128 Advanced WordPress Reset
Version 1.6
Comparing to
See all releases

Code changes from version 1.5 to 1.6

Files changed (2) hide show
  1. README.txt +5 -2
  2. advanced-wp-reset.php +4 -4
README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: symptote
3
  Donate Link: http://www.sigmaplugin.com/donation
4
  Tags: database, reset database, reset, clean, restore
5
  Requires at least: 4.0
6
- Tested up to: 6.0
7
- Stable tag: 1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -64,6 +64,9 @@ This section describes how to install the plugin and get it working.
64
 
65
  == Changelog ==
66
 
 
 
 
67
  = 1.5 - 23/02/2022 =
68
  - New: feature to clean up 'uploads' folder
69
  - New: feature to delete all themes
3
  Donate Link: http://www.sigmaplugin.com/donation
4
  Tags: database, reset database, reset, clean, restore
5
  Requires at least: 4.0
6
+ Tested up to: 6.1
7
+ Stable tag: 1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
64
 
65
  == Changelog ==
66
 
67
+ = 1.6 - 01/07/2022 =
68
+ - Security fix: enhancing the security of the plugin by escaping some URLs before outputting them
69
+
70
  = 1.5 - 23/02/2022 =
71
  - New: feature to clean up 'uploads' folder
72
  - New: feature to delete all themes
advanced-wp-reset.php CHANGED
@@ -5,7 +5,7 @@ if (!defined('ABSPATH') || !is_main_site()) return;
5
  Plugin Name: Advanced WordPress Reset
6
  Plugin URI: http://sigmaplugin.com/downloads/advanced-wordpress-reset
7
  Description: Reset your WordPress database to its first original status, just like if you make a fresh installation.
8
- Version: 1.5
9
  Author: Younes JFR.
10
  Author URI: http://www.sigmaplugin.com
11
  Contributors: symptote
@@ -20,7 +20,7 @@ class DBR_Advanced_DB_Reset {
20
  public function __construct(){
21
 
22
  // Define common constants that should be modified in each version
23
- if(!defined("DBR_PLUGIN_VERSION")) define("DBR_PLUGIN_VERSION", "1.5");
24
 
25
  // Load text-domain, ajax functions...
26
  add_action('plugins_loaded', array($this, 'plugins_loaded'));
@@ -161,8 +161,8 @@ class DBR_Advanced_DB_Reset {
161
  <?php _e('Ok, you deserved it', 'advanced-wp-reset'); ?></a>
162
  <form method="post" action="" style="display:inline">
163
  <input type="hidden" name="dont_show_rate" value=""/>
164
- <a style="<?php echo $style_botton ?>" href="<?php echo $DBR_new_URI; ?>"><?php _e('I already did', 'advanced-wp-reset'); ?></a>
165
- <a style="<?php echo $style_botton ?>" href="<?php echo $DBR_new_URI; ?>"><?php _e('Please don\'t show this again', 'advanced-wp-reset'); ?></a>
166
  </form>
167
  </div>
168
  </p>
5
  Plugin Name: Advanced WordPress Reset
6
  Plugin URI: http://sigmaplugin.com/downloads/advanced-wordpress-reset
7
  Description: Reset your WordPress database to its first original status, just like if you make a fresh installation.
8
+ Version: 1.6
9
  Author: Younes JFR.
10
  Author URI: http://www.sigmaplugin.com
11
  Contributors: symptote
20
  public function __construct(){
21
 
22
  // Define common constants that should be modified in each version
23
+ if(!defined("DBR_PLUGIN_VERSION")) define("DBR_PLUGIN_VERSION", "1.6");
24
 
25
  // Load text-domain, ajax functions...
26
  add_action('plugins_loaded', array($this, 'plugins_loaded'));
161
  <?php _e('Ok, you deserved it', 'advanced-wp-reset'); ?></a>
162
  <form method="post" action="" style="display:inline">
163
  <input type="hidden" name="dont_show_rate" value=""/>
164
+ <a style="<?php echo $style_botton ?>" href="<?php echo esc_url( $DBR_new_URI ); ?>"><?php _e('I already did', 'advanced-wp-reset'); ?></a>
165
+ <a style="<?php echo $style_botton ?>" href="<?php echo esc_url( $DBR_new_URI ); ?>"><?php _e('Please don\'t show this again', 'advanced-wp-reset'); ?></a>
166
  </form>
167
  </div>
168
  </p>