| @@ -1,38 +1,153 @@ | ||
| 1 | -=== WordPress Database Reset === | |
| 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 | |
| 2 | 10 | |
| 3 | -Contributors: mousesports | |
| 4 | -Tags: wordpress, database, database-reset, development, default-settings, default, wp-reset, security, secure | |
| 5 | -License: GPL2 | |
| 6 | -Requires at least: 3.0 | |
| 7 | -Tested up to: 3.5 | |
| 8 | -Stable tag: 2.1 | |
| 11 | +Skip reinstalling WP to reset it & reset the WordPress database back to its original state with 1-click. | |
| 9 | 12 | |
| 10 | -A secure and easy way to reinitialize the WordPress database to its default settings. | |
| 13 | +== Description == | |
| 11 | 14 | |
| 12 | -== Description == | |
| 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. | |
| 13 | 16 | |
| 14 | -WordPress Database Reset is a secure and easy way to reinitialize your WordPress database back to its default settings without actually having to reinstall WordPress yourself. | |
| 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. | |
| 15 | 18 | |
| 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. | |
| 19 | +**Features** | |
| 17 | 20 | |
| 18 | -== Installation == | |
| 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 | |
| 19 | 27 | |
| 20 | -Copy the wp-reset folder and its contents to your wp-content/plugins directory, | |
| 21 | -then activate the plugin. You could also use the built-in Add New Plugin | |
| 22 | -feature within WordPress. After activating, you will automatically be redirected | |
| 23 | -to the plugin page. | |
| 28 | +**Command Line** | |
| 24 | 29 | |
| 25 | -== Frequently Asked Questions == | |
| 30 | +Once activated, you can use the WordPress Database Reset plugin with [WordPress CLI](http://wp-cli.org/). List of WP-CLI commands: | |
| 26 | 31 | |
| 27 | -= Why reset the database? = | |
| 32 | +Reset all tables: | |
| 28 | 33 | |
| 29 | -I wanted a simple and painless way to obtain a fresh clean database without actually having to reinstall WordPress. Plus, 9 times out of 10 I get tons of excess junk in the wp_options table after installing plugins and themes that do not clean up after themselves. | |
| 34 | +`wp reset database` | |
| 30 | 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 | + | |
| 31 | 63 | == Screenshots == |
| 32 | -1. The plugin page - a more secure way of resetting your database. | |
| 64 | +1. The WP Database Reset plugin page | |
| 33 | 65 | |
| 34 | 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 | + | |
| 35 | 150 | = 2.1 = |
| 36 | 151 | * Replaced 3.3 deprecated get_userdatabylogin() with get_user_by() |
| 37 | 152 | * Updated deprecated add_contextual_help() with add_help_tab() |
| 38 | 153 | * Small change in condition check for backup tables |
| @@ -47,9 +162,9 @@ | ||
| 47 | 162 | * 'Reactivate current plugins after reset' only shows if the options table is selected from the dropdown. |
| 48 | 163 | |
| 49 | 164 | = 1.4 = |
| 50 | 165 | * Made quite a few changes to the translation files |
| 51 | -* Renamed french translation file for plugin format, not theme format | |
| 166 | +* Renamed French translation file for plugin format, not theme format | |
| 52 | 167 | * Optimized (until potential version 2.0) |
| 53 | 168 | |
| 54 | 169 | = 1.3 = |
| 55 | 170 | * Replaced reactivation option for all currently active plugins (not just this plugin) |
| @@ -62,5 +177,6 @@ | ||
| 62 | 177 | * Removed deprecated user level for WordPress 3.0+ |
| 63 | 178 | * Fixed small bug where if admin user did not have admin capabilities, it would tell the user they did |
| 64 | 179 | |
| 65 | 180 | = 1.0 = |
| 66 | -* First version | |
| 181 | +* First version | |
| 182 | +* 2011-10-04 | |