WordPress Database Reset - Version 3.20

Version Description

  • 2021/04/26
  • still trying to warn people that this plugin will soon be discontinued
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 WordPress Database Reset
Version 3.20
Comparing to
See all releases

Code changes from version 3.19 to 3.20

assets/css/database-reset.css CHANGED
@@ -6,6 +6,10 @@ p {
6
  margin-bottom: 20px;
7
  }
8
 
 
 
 
 
9
  #select-container {
10
  width: 290px;
11
  }
@@ -23,10 +27,11 @@ p {
23
  background: #eaeaea;
24
  }
25
 
26
- .code, code {
27
- font-family: Consolas,Monaco,monospace;
28
- direction: ltr;
29
- unicode-bidi: embed;
 
30
  }
31
 
32
  #loader {
@@ -42,6 +47,11 @@ p {
42
  width: 100px;
43
  }
44
 
 
 
 
 
 
45
  /* wpr upsell dialog */
46
  .wpr-upsell-dialog .ui-dialog-titlebar {
47
  background: #ccc;
6
  margin-bottom: 20px;
7
  }
8
 
9
+ .ui-button-icon-only {
10
+ text-indent: -9999px;
11
+ }
12
+
13
  #select-container {
14
  width: 290px;
15
  }
27
  background: #eaeaea;
28
  }
29
 
30
+ .code,
31
+ code {
32
+ font-family: Consolas, Monaco, monospace;
33
+ direction: ltr;
34
+ unicode-bidi: embed;
35
  }
36
 
37
  #loader {
47
  width: 100px;
48
  }
49
 
50
+ #wp-reset-ad {
51
+ border: 2px solid #d63638;
52
+ background: #d6363812;
53
+ }
54
+
55
  /* wpr upsell dialog */
56
  .wpr-upsell-dialog .ui-dialog-titlebar {
57
  background: #ccc;
assets/js/database-reset-plugins.js CHANGED
@@ -2,7 +2,7 @@
2
  var plugin_row = $("tr[data-slug='wordpress-database-reset']");
3
  if (plugin_row.length == 1) {
4
  var row = '<tr class="plugin-update-tr active"><td colspan="4" class="plugin-update colspanchange"><div class="update-message notice inline notice-error notice-alt">';
5
- row += '<p>WP Database Reset has been replaced by <a href="' + db_reset.info_link +'" class="thickbox open-plugin-details-modal">WP Reset</a> and it will soon be removed from the plugin repository.<br>Please <a href="' + db_reset.install_link + '">click here to install WP Reset</a> - it\'s free, used by over 300,000 people and has numerous reset tools. If you have any questions - <a href="https://wordpress.org/support/plugin/wordpress-database-reset/" target="_blank">contact support</a></p>';
6
  row += '</div></td></tr>';
7
 
8
  $(row).insertAfter($(plugin_row));
2
  var plugin_row = $("tr[data-slug='wordpress-database-reset']");
3
  if (plugin_row.length == 1) {
4
  var row = '<tr class="plugin-update-tr active"><td colspan="4" class="plugin-update colspanchange"><div class="update-message notice inline notice-error notice-alt">';
5
+ row += '<p style="padding: 10px;">WP Database Reset has been replaced by the free <a href="' + db_reset.info_link +'" class="thickbox open-plugin-details-modal">WP Reset</a> plugin and it will soon be removed from the plugin repository.<br>Please <a href="' + db_reset.install_link + '">click here to install WP Reset</a> - it\'s free, used by over 300,000 people and has numerous reset tools. If you have any questions - <a href="https://wordpress.org/support/plugin/wordpress-database-reset/" target="_blank">contact support</a></p>';
6
  row += '</div></td></tr>';
7
 
8
  $(row).insertAfter($(plugin_row));
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: WebFactory
3
  Tags: database, reset, restore, database reset, wp reset, reset wp, developer, development
4
  Requires at least: 4.2
5
  Requires PHP: 5.2
6
- Tested up to: 5.7
7
- Stable tag: 3.19
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -65,6 +65,10 @@ WP Database Reset was originally developed in October 2011 by <a href="https://g
65
 
66
  == Changelog ==
67
 
 
 
 
 
68
  = 3.19 =
69
  * 2021/02/25
70
  * continuing to phase out the plugin in favor of WP Reset
3
  Tags: database, reset, restore, database reset, wp reset, reset wp, developer, development
4
  Requires at least: 4.2
5
  Requires PHP: 5.2
6
+ Tested up to: 5.8
7
+ Stable tag: 3.20
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
65
 
66
  == Changelog ==
67
 
68
+ = 3.20 =
69
+ * 2021/04/26
70
+ * still trying to warn people that this plugin will soon be discontinued
71
+
72
  = 3.19 =
73
  * 2021/02/25
74
  * continuing to phase out the plugin in favor of WP Reset
views/index.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="wrap card" id="wp-reset-ad">
2
  <h1>This plugin is being replaced by WP Reset</h1>
3
  <a href="#" class="open-wpr-upsell"><img src="<?php echo plugins_url( 'assets/images/wp-reset-icon.png', DB_RESET_FILE ); ?>" alt="WP Reset - used on +300,000 sites" title="WP Reset - used on +300,000 sites"></a>
4
- <p>We're phasing out support &amp; development for this plugin because we built the free <a href="#" class="open-wpr-upsell">WP Reset</a> plugin that has a lot more functions, automatic backups when you do resets and it is <b>used by over 300,000 sites</b> daily.<br><br><a href="#" class="open-wpr-upsell button button-primary">Install the free WP Reset plugin</a></p>
5
  </div>
6
 
7
  <div class="wrap card">
@@ -30,12 +30,12 @@
30
  <li>Create Database Snapshot to revert WP to previous states with 1 click</li>
31
  <li>Compare current &amp; previous snapshots to see changes done by plugins</li>
32
  </ul>
33
- <p class="upsell-footer"><a class="button button-primary install-wpr">Install &amp; Activate WP Reset</a></p>
34
  </div>
35
  </div>
36
 
37
  <div class="wrap card" id="wp-reset-ad">
38
  <h1>This plugin is being replaced by WP Reset</h1>
39
  <a href="#" class="open-wpr-upsell"><img src="<?php echo plugins_url( 'assets/images/wp-reset-icon.png', DB_RESET_FILE ); ?>" alt="WP Reset - used on +300,000 sites" title="WP Reset - used on +300,000 sites"></a>
40
- <p>We're phasing out support &amp; development for this plugin because we built the free <a href="#" class="open-wpr-upsell">WP Reset</a> plugin that has a lot more functions, automatic backups when you do resets and it is <b>used by over 300,000 sites</b> daily.<br><br><a href="#" class="open-wpr-upsell button button-primary">Install the free WP Reset plugin</a></p>
41
  </div>
1
  <div class="wrap card" id="wp-reset-ad">
2
  <h1>This plugin is being replaced by WP Reset</h1>
3
  <a href="#" class="open-wpr-upsell"><img src="<?php echo plugins_url( 'assets/images/wp-reset-icon.png', DB_RESET_FILE ); ?>" alt="WP Reset - used on +300,000 sites" title="WP Reset - used on +300,000 sites"></a>
4
+ <p>We're phasing out support &amp; development for this plugin because we built the free <a href="#" class="open-wpr-upsell">WP Reset</a> plugin that has a lot more functions, automatic backups when you do resets and it is <b>used by over 300,000 sites</b> daily.<br><br><a href="#" class="open-wpr-upsell button button-primary">Install the free WP Reset plugin from the WP repository</a></p>
5
  </div>
6
 
7
  <div class="wrap card">
30
  <li>Create Database Snapshot to revert WP to previous states with 1 click</li>
31
  <li>Compare current &amp; previous snapshots to see changes done by plugins</li>
32
  </ul>
33
+ <p class="upsell-footer"><a class="button button-primary install-wpr">Install &amp; Activate WP Reset from the WP repository</a></p>
34
  </div>
35
  </div>
36
 
37
  <div class="wrap card" id="wp-reset-ad">
38
  <h1>This plugin is being replaced by WP Reset</h1>
39
  <a href="#" class="open-wpr-upsell"><img src="<?php echo plugins_url( 'assets/images/wp-reset-icon.png', DB_RESET_FILE ); ?>" alt="WP Reset - used on +300,000 sites" title="WP Reset - used on +300,000 sites"></a>
40
+ <p>We're phasing out support &amp; development for this plugin because we built the free <a href="#" class="open-wpr-upsell">WP Reset</a> plugin that has a lot more functions, automatic backups when you do resets and it is <b>used by over 300,000 sites</b> daily.<br><br><a href="#" class="open-wpr-upsell button button-primary">Install the free WP Reset plugin from the WP repository</a></p>
41
  </div>
wp-reset.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Database Reset
4
  Plugin URI: https://wordpress.org/plugins/wordpress-database-reset/
5
  Description: Reset all or some WP database tables back to their original state.
6
- Version: 3.19
7
  Author: WebFactory Ltd
8
  Author URI: https://www.webfactoryltd.com/
9
  License: GNU General Public License
@@ -25,7 +25,7 @@
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
28
- define( 'DB_RESET_VERSION', '3.18' );
29
  define( 'DB_RESET_PATH', dirname( __FILE__ ) );
30
  define( 'DB_RESET_NAME', basename( DB_RESET_PATH ) );
31
  define( 'DB_RESET_FILE', __FILE__ );
3
  Plugin Name: WP Database Reset
4
  Plugin URI: https://wordpress.org/plugins/wordpress-database-reset/
5
  Description: Reset all or some WP database tables back to their original state.
6
+ Version: 3.20
7
  Author: WebFactory Ltd
8
  Author URI: https://www.webfactoryltd.com/
9
  License: GNU General Public License
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
28
+ define( 'DB_RESET_VERSION', '3.20' );
29
  define( 'DB_RESET_PATH', dirname( __FILE__ ) );
30
  define( 'DB_RESET_NAME', basename( DB_RESET_PATH ) );
31
  define( 'DB_RESET_FILE', __FILE__ );