WP Reset – Fastest WordPress Reset Plugin - Version 1.93

Version Description

Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 WP Reset – Fastest WordPress Reset Plugin
Version 1.93
Comparing to
See all releases

Code changes from version 1.92 to 1.93

Files changed (2) hide show
  1. readme.txt +7 -3
  2. wp-reset.php +4 -2
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === WP Reset - Most Advanced WordPress Reset Tool ===
2
  Tags: wordpress reset, reset database, reset wordpress database, reset, advanced wordpress reset, restart wordpress, clean wordpress, default wp, default wordpress, reset wp, wp reset, developer, wp-cli, backup, database backup
3
  Contributors: WebFactory
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
  Tested up to: 5.8
7
- Stable tag: 1.92
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,7 +12,7 @@ WP Reset resets the entire site or selected parts using advanced reset options t
12
 
13
  == Description ==
14
 
15
- <a href="https://wpreset.com/">WP Reset</a> quickly resets the site's database to the default installation values without modifying any files. It deletes all customizations and content, or just chosen parts like theme settings. WP Reset is fast and safe to use thanks to the built-in snapshots which provide 1-click restore functionality. It has multiple fail-safe mechanisms so you can never accidentally lose data. WP Reset is extremely helpful for plugin and theme developers. It **speeds up testing & debugging** by providing a quick way to reset settings and re-test code. It's the only WP development tool for non-developers.
16
 
17
  https://youtu.be/qMnkCW2PFoI?rel=0
18
 
@@ -115,6 +115,10 @@ Or if needed, upload manually;
115
 
116
  == Changelog ==
117
 
 
 
 
 
118
  = v1.92 =
119
  * 2021/07/28
120
  * more fixes for the password issue when resetting on WP 5.8
1
+ === WP Reset - Most Advanced Reset Tool for WordPress ===
2
  Tags: wordpress reset, reset database, reset wordpress database, reset, advanced wordpress reset, restart wordpress, clean wordpress, default wp, default wordpress, reset wp, wp reset, developer, wp-cli, backup, database backup
3
  Contributors: WebFactory
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
  Tested up to: 5.8
7
+ Stable tag: 1.93
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ <a href="https://wpreset.com/">WP Reset</a> quickly resets the site's database to the default installation values without modifying any files. It deletes all customizations and content, or just chosen parts like theme settings. WP Reset is fast and safe to use thanks to the built-in snapshots which provide 1-click restore functionality. It has multiple fail-safe mechanisms so you can never accidentally lose data. WP Reset is extremely helpful for plugin and theme developers. It **speeds up testing & debugging** by providing a quick way to reset settings and re-test code. It's the only WP development tool for non-developers that enables advanced reset.
16
 
17
  https://youtu.be/qMnkCW2PFoI?rel=0
18
 
115
 
116
  == Changelog ==
117
 
118
+ = v1.93 =
119
+ * 2021/08/01
120
+ * reactivate plugins fix
121
+
122
  = v1.92 =
123
  * 2021/07/28
124
  * more fixes for the password issue when resetting on WP 5.8
wp-reset.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Reset
4
  Plugin URI: https://wpreset.com/
5
  Description: Reset the entire site or just selected parts while reserving the option to undo by using snapshots.
6
- Version: 1.92
7
  Requires at least: 4.0
8
  Requires PHP: 5.2
9
  Tested up to: 5.8
@@ -979,6 +979,8 @@ class WP_Reset
979
  activate_plugin($path);
980
  wp_send_json_success();
981
  } elseif ($tool == 'before_reset') {
 
 
982
  remove_all_actions('update_option_active_plugins');
983
  update_option('active_plugins', array(plugin_basename(__FILE__)));
984
  wp_send_json_success();
@@ -1036,7 +1038,7 @@ class WP_Reset
1036
  $home = get_option('home');
1037
  $snapshots = $this->get_snapshots();
1038
 
1039
- $active_plugins = get_option('active_plugins');
1040
  $active_theme = wp_get_theme();
1041
 
1042
  // for WP-CLI
3
  Plugin Name: WP Reset
4
  Plugin URI: https://wpreset.com/
5
  Description: Reset the entire site or just selected parts while reserving the option to undo by using snapshots.
6
+ Version: 1.93
7
  Requires at least: 4.0
8
  Requires PHP: 5.2
9
  Tested up to: 5.8
979
  activate_plugin($path);
980
  wp_send_json_success();
981
  } elseif ($tool == 'before_reset') {
982
+ $active_plugins = get_option('active_plugins');
983
+ set_transient('wpr_active_plugins', $active_plugins, 100);
984
  remove_all_actions('update_option_active_plugins');
985
  update_option('active_plugins', array(plugin_basename(__FILE__)));
986
  wp_send_json_success();
1038
  $home = get_option('home');
1039
  $snapshots = $this->get_snapshots();
1040
 
1041
+ $active_plugins = get_transient('wpr_active_plugins');
1042
  $active_theme = wp_get_theme();
1043
 
1044
  // for WP-CLI