Version Description
- Fixed bug where reactivate plugins div was not displaying on 'options' table select
Download this release
Release Info
| Developer | mousesports |
| Plugin | |
| Version | 2.3.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3 to 2.3.1
- readme.txt +6 -3
- wp-reset.php +6 -7
readme.txt
CHANGED
|
@@ -3,15 +3,15 @@
|
|
| 3 |
Contributors: mousesports
|
| 4 |
Tags: wordpress, database, database-reset, restore, setup, development, default-settings, default, wp-reset, security, secure
|
| 5 |
License: GPL2
|
| 6 |
-
Requires at least: 3.
|
| 7 |
Tested up to: 3.7.1
|
| 8 |
-
Stable tag: 2.3
|
| 9 |
|
| 10 |
A simple way to reset the database to the state of WordPress right after you install it for the first time.
|
| 11 |
|
| 12 |
== Description ==
|
| 13 |
|
| 14 |
-
WordPress Database Reset allows for a secure and easy way to reinitialize
|
| 15 |
|
| 16 |
This plugin will come in handy for both theme and plugin developers. There are different use case scenarios - one of which is being able to easily erase excess junk in the wp_options table that accumulates over time. Another would be to simply obtain a fresh install of the WordPress database after experimenting with various back-end options.
|
| 17 |
|
|
@@ -26,6 +26,9 @@ to the plugin page.
|
|
| 26 |
1. The plugin page - a more secure way of resetting your database.
|
| 27 |
|
| 28 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
| 29 |
= 2.3 =
|
| 30 |
* Removed deprecated function $wpdb->escape(), replaced with esc_sql()
|
| 31 |
* Add German translation, thanks to Ulrich Pogson
|
| 3 |
Contributors: mousesports
|
| 4 |
Tags: wordpress, database, database-reset, restore, setup, development, default-settings, default, wp-reset, security, secure
|
| 5 |
License: GPL2
|
| 6 |
+
Requires at least: 3.0
|
| 7 |
Tested up to: 3.7.1
|
| 8 |
+
Stable tag: 2.3.1
|
| 9 |
|
| 10 |
A simple way to reset the database to the state of WordPress right after you install it for the first time.
|
| 11 |
|
| 12 |
== Description ==
|
| 13 |
|
| 14 |
+
WordPress Database Reset allows for a secure and easy way to reinitialize the database back to its default settings without having to reinstall WordPress yourself.
|
| 15 |
|
| 16 |
This plugin will come in handy for both theme and plugin developers. There are different use case scenarios - one of which is being able to easily erase excess junk in the wp_options table that accumulates over time. Another would be to simply obtain a fresh install of the WordPress database after experimenting with various back-end options.
|
| 17 |
|
| 26 |
1. The plugin page - a more secure way of resetting your database.
|
| 27 |
|
| 28 |
== Changelog ==
|
| 29 |
+
= 2.3.1 =
|
| 30 |
+
* Fixed bug where reactivate plugins div was not displaying on 'options' table select
|
| 31 |
+
|
| 32 |
= 2.3 =
|
| 33 |
* Removed deprecated function $wpdb->escape(), replaced with esc_sql()
|
| 34 |
* Add German translation, thanks to Ulrich Pogson
|
wp-reset.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: WordPress Database Reset
|
| 4 |
Plugin URI: https://github.com/chrisberthe/wordpress-database-reset
|
| 5 |
Description: A plugin that allows you to reset the database to WordPress's initial state.
|
| 6 |
-
Version: 2.3
|
| 7 |
Author: Chris Berthe ☻
|
| 8 |
Author URI: https://github.com/chrisberthe
|
| 9 |
License: GNU General Public License
|
|
@@ -140,9 +140,9 @@ if ( ! class_exists('CB_WP_Reset') && is_admin() ) :
|
|
| 140 |
<p><?php _e('Please choose from the following database tables the ones you would like to reset', 'wp-reset') ?>:</p>
|
| 141 |
<div id="select-buttons">
|
| 142 |
<span><a href='#' id="select-all"><?php _e('Select All', 'wp-reset') ?></a></span>
|
| 143 |
-
<select id="wp-tables" multiple="multiple" name="tables[]"
|
| 144 |
<?php foreach ( $this->_wp_tables as $key => $value ) : ?>
|
| 145 |
-
<option><?php echo $key ?></option>
|
| 146 |
<?php endforeach ?>
|
| 147 |
</select>
|
| 148 |
</div>
|
|
@@ -207,10 +207,9 @@ if ( ! class_exists('CB_WP_Reset') && is_admin() ) :
|
|
| 207 |
}
|
| 208 |
});
|
| 209 |
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
}
|
| 214 |
|
| 215 |
})(jQuery);
|
| 216 |
/* ]]> */
|
| 3 |
Plugin Name: WordPress Database Reset
|
| 4 |
Plugin URI: https://github.com/chrisberthe/wordpress-database-reset
|
| 5 |
Description: A plugin that allows you to reset the database to WordPress's initial state.
|
| 6 |
+
Version: 2.3.1
|
| 7 |
Author: Chris Berthe ☻
|
| 8 |
Author URI: https://github.com/chrisberthe
|
| 9 |
License: GNU General Public License
|
| 140 |
<p><?php _e('Please choose from the following database tables the ones you would like to reset', 'wp-reset') ?>:</p>
|
| 141 |
<div id="select-buttons">
|
| 142 |
<span><a href='#' id="select-all"><?php _e('Select All', 'wp-reset') ?></a></span>
|
| 143 |
+
<select id="wp-tables" multiple="multiple" name="tables[]">
|
| 144 |
<?php foreach ( $this->_wp_tables as $key => $value ) : ?>
|
| 145 |
+
<option value="<?php echo $key ?>"><?php echo $key ?></option>
|
| 146 |
<?php endforeach ?>
|
| 147 |
</select>
|
| 148 |
</div>
|
| 207 |
}
|
| 208 |
});
|
| 209 |
|
| 210 |
+
$('#wp-tables').change(function() {
|
| 211 |
+
$('#reactivate').toggle($("option[value='options']:selected", this).length > 0);
|
| 212 |
+
});
|
|
|
|
| 213 |
|
| 214 |
})(jQuery);
|
| 215 |
/* ]]> */
|
