| 1 |
=== Database Reset === |
| 2 |
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: 6.1 |
| 7 |
Stable tag: 3.21 |
| 8 |
License: GPLv2 or later |
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 10 |
|
| 11 |
Skip reinstalling WP to reset it & reset the WordPress database back to its original state with 1-click. |
| 12 |
|
| 13 |
== Description == |
| 14 |
|
| 15 |
If you need more reset tools install the free, advanced <a href="https://wordpress.org/plugins/wp-reset/">WP Reset</a> plugin. It has a lot more reset tools to individually reset plugins, themes, transients and media. You can also create database snapshots to restore your WP site with one click if you make a mistake. |
| 16 |
|
| 17 |
The WordPress Database Reset plugin allows you to **reset the database** (all tables or the ones you choose) back to its default settings without having to go through the WordPress 5 minute installation or having to modify any files. |
| 18 |
|
| 19 |
**Features** |
| 20 |
|
| 21 |
* Extremely fast one click process to reset the WordPress database tables |
| 22 |
* Choose to reset the entire database or specific database tables |
| 23 |
* Secure and super simple to use |
| 24 |
* Safe - it's not possible to accidentally click reset |
| 25 |
* Prefer the command line? Reset the database in one command |
| 26 |
* Excellent for theme and plugin developers who need to clean the database of any unnecessary content |
| 27 |
|
| 28 |
**Command Line** |
| 29 |
|
| 30 |
Once activated, you can use the WordPress Database Reset plugin with [WordPress CLI](http://wp-cli.org/). List of WP-CLI commands: |
| 31 |
|
| 32 |
Reset all tables: |
| 33 |
|
| 34 |
`wp reset database` |
| 35 |
|
| 36 |
Specify a list of tables to reset: |
| 37 |
|
| 38 |
`wp reset database --tables='users, posts, comments, options'` |
| 39 |
|
| 40 |
The current theme and plugins will be reactivated by default. You can disable them like so: |
| 41 |
|
| 42 |
`wp reset database --no-reactivate` |
| 43 |
|
| 44 |
List table names: |
| 45 |
|
| 46 |
`wp reset list` |
| 47 |
|
| 48 |
|
| 49 |
**Support** |
| 50 |
|
| 51 |
Create a new post in the [WordPress Database Reset support forum](https://wordpress.org/support/plugin/wordpress-database-reset). |
| 52 |
|
| 53 |
**Want to help out?** |
| 54 |
|
| 55 |
* Provide new <a href="https://translate.wordpress.org/projects/wp-plugins/wordpress-database-reset">language translations</a> |
| 56 |
* Want to help others that might be having issues? [Answer questions on the support forum](https://wordpress.org/support/plugin/wordpress-database-reset). |
| 57 |
* Rate the plugin - <a href="https://wordpress.org/support/plugin/wordpress-database-reset/reviews/#new-post">rate it</a> |
| 58 |
|
| 59 |
|
| 60 |
WP Database Reset was originally developed in October 2011 by <a href="https://github.com/chrisberthe">Chris Berthe</a>. Please do not send him any support questions. If you need assistance the <a href="https://wordpress.org/support/plugin/wordpress-database-reset/">official forum</a> is the best and fastest way to get it. |
| 61 |
|
| 62 |
|
| 63 |
== Screenshots == |
| 64 |
1. The WP Database Reset plugin page |
| 65 |
|
| 66 |
== Changelog == |
| 67 |
|
| 68 |
= 3.21 = |
| 69 |
* 2021/07/29 |
| 70 |
* fix for WP 5.8 |
| 71 |
|
| 72 |
= 3.20 = |
| 73 |
* 2021/04/26 |
| 74 |
* still trying to warn people that this plugin will soon be discontinued |
| 75 |
|
| 76 |
= 3.19 = |
| 77 |
* 2021/02/25 |
| 78 |
* continuing to phase out the plugin in favor of WP Reset |
| 79 |
|
| 80 |
= 3.18 = |
| 81 |
* 2021/01/30 |
| 82 |
* added flyout menu |
| 83 |
* started to phase out this plugin in favor of WP Reset |
| 84 |
|
| 85 |
= 3.17 = |
| 86 |
* 2020/10/06 |
| 87 |
* license fix |
| 88 |
* added promo for WP 301 Redirects |
| 89 |
|
| 90 |
= 3.16 = |
| 91 |
* 2020/09/01 |
| 92 |
* fixed an issue with select tables element |
| 93 |
|
| 94 |
= 3.15 = |
| 95 |
* 2020/01/14 |
| 96 |
* security fixes - thanks to Chloe from Wordfence |
| 97 |
* 80k installations; 761,300 downloads |
| 98 |
|
| 99 |
= 3.1 = |
| 100 |
* 2019/08/13 |
| 101 |
* WebFactory took over development |
| 102 |
* minor improvements in GUI and messaging |
| 103 |
* fixed a nasty bug related to admin user ID not being 1 |
| 104 |
* 70k installations; 665,500 downloads |
| 105 |
|
| 106 |
= 3.0.2 = |
| 107 |
* Fix for plugin page not showing up in tools menu (on some hosting providers) |
| 108 |
* Update how session tokens were being restored |
| 109 |
* Remove unnecessary nonce |
| 110 |
* Bump 'requires at least' to version 4.2 |
| 111 |
* Change 'theme_data' to 'theme_plugin_data' |
| 112 |
|
| 113 |
= 3.0.1 = |
| 114 |
* Fix plugin disabled after update, thanks to Ulrich Pogson |
| 115 |
* Update the pot file |
| 116 |
|
| 117 |
= 3.0.0 = |
| 118 |
* Completely re-written from scratch |
| 119 |
* Add extended WP_CLI command class |
| 120 |
* Clean up admin interface |
| 121 |
* Remove unnecessary help tabs |
| 122 |
* Submit button is now deactivated until user inputs security code |
| 123 |
* Add PayPal donation button |
| 124 |
* Remove outdated localization files |
| 125 |
* Update the text domain to match slug for translate.wordpress.org |
| 126 |
|
| 127 |
= 2.3.2 = |
| 128 |
* Add option to keep active theme, thanks to Ulrich Pogson |
| 129 |
* Adhere to WordPress PHP coding syntax standards |
| 130 |
* Delete the user session and recreate it |
| 131 |
* Separate the backup_tables method into two new methods |
| 132 |
* Reset only WP tables and not custom tables |
| 133 |
* French language updates, thanks to Fx Benard |
| 134 |
* Fix for undefined variable: backup_tables |
| 135 |
|
| 136 |
= 2.3.1 = |
| 137 |
* Fixed bug where reactivate plugins div was not displaying on 'options' table select |
| 138 |
|
| 139 |
= 2.3 = |
| 140 |
* Removed deprecated function $wpdb->escape(), replaced with esc_sql() |
| 141 |
* Add German translation, thanks to Ulrich Pogson |
| 142 |
* Updated screenshot-1.png |
| 143 |
* Renamed default localization file |
| 144 |
* Fixed broken if conditional during code clean up for version 2.2 |
| 145 |
|
| 146 |
= 2.2 = |
| 147 |
* Fixed scripts and styles to only load on plugin page |
| 148 |
* Formatted code to meet WordPress syntax standards |
| 149 |
|
| 150 |
= 2.1 = |
| 151 |
* Replaced 3.3 deprecated get_userdatabylogin() with get_user_by() |
| 152 |
* Updated deprecated add_contextual_help() with add_help_tab() |
| 153 |
* Small change in condition check for backup tables |
| 154 |
* Removed custom _rand_string() with core wp_generate_password() |
| 155 |
* Added Portuguese translation - thanks to Fernando Lopes |
| 156 |
|
| 157 |
= 2.0 = |
| 158 |
* Added functionality to be able to select which tables you want to reset, rather than having to reset the entire database. |
| 159 |
* Added bsmSelect for the multiple select. |
| 160 |
* Modified screenshot-1.png. |
| 161 |
* Fixed redirect bug |
| 162 |
* 'Reactivate current plugins after reset' only shows if the options table is selected from the dropdown. |
| 163 |
|
| 164 |
= 1.4 = |
| 165 |
* Made quite a few changes to the translation files |
| 166 |
* Renamed French translation file for plugin format, not theme format |
| 167 |
* Optimized (until potential version 2.0) |
| 168 |
|
| 169 |
= 1.3 = |
| 170 |
* Replaced reactivation option for all currently active plugins (not just this plugin) |
| 171 |
* Updated language files |
| 172 |
|
| 173 |
= 1.2 = |
| 174 |
* Added capability to manually select whether or not plugin should be reactivated upon reset |
| 175 |
* Modified class name to avoid potential conflicts with WordPress core |
| 176 |
* Modified wp_mail override |
| 177 |
* Removed deprecated user level for WordPress 3.0+ |
| 178 |
* Fixed small bug where if admin user did not have admin capabilities, it would tell the user they did |
| 179 |
|
| 180 |
= 1.0 = |
| 181 |
* First version |
| 182 |
* 2011-10-04 |
| 183 |
|