WordPress Reset

Resets the WordPress database back to it’s defaults. Deletes all customizations and content. Does not modify files only resets the database.

This plugin is very helpful for plugin and theme developers.

If the admin user exists and has level_10 permissions it will be recreated with its current password and email address. If the admin user does not exist or is a dummy account without admin permissions the username that is logged in will be recreated with its email address and current password. The blog name is also kept.

The plugin will add an entry to the Admin Bar under the site title and has the ability to reactivate itself and other plugins after the reset.

Version Information

Version: 1.3.1
Requires WordPress Version: 2.8
Compatible Up To: 3.3.1

Download

Downloaded: 19041 times
Latest version: Download WordPress Reset v1.3.1 [zip]
Other versions: Download WordPress Reset archives

Installation

  1. Upload the wordpress-reset folder to the /wp-content/plugins/ directory or install directly through the plugin installer.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer

Upgrade

  1. Use the plugin updater in WordPress or…
  2. Delete the previous wordpress-reset folder from the /wp-content/plugins/ directory
  3. Upload the new wordpress-reset folder to the /wp-content/plugins/ directory

Usage

  1. Visit the WordPress Reset Tools page by either clicking the link in the Admin Bar or Tools>WordPress Reset
  2. Type ‘reset’ in the text field and click reset.

FAQ

Q. How can I get this plugin to automatically reactive after the reset?
A. Add define( 'REACTIVATE_WP_RESET', true ); to wp-config.php above /* That's all, stop editing! Happy blogging. */

Q. Can this plugin reactivate other plugins automatically after performing the reset?
A. Add an array called $reactivate_wp_reset_additional to the global scope by placing it in wp-config.php above /* That's all, stop editing! Happy blogging. */ that contains the plugin basenames of the plugins to activate, such as:

$reactivate_wp_reset_additional = array(
    'hello.php',
    'akismet/akismet.php'
);

Changelog

1.3.1 (2012-01-29):

  • Apparently in a LIKE query, an underscore matches a single character, so we must escape it

1.3 (2012-01-29):

  • Fixes a deprecated notice in WordPress 3.3 when using get_userdatabylogin
  • Removes the $auto_reactivate variable
  • Look for REACTIVATE_WP_RESET constant to be defined in wp-config.php for auto reactivation after reset
  • Look for global $reactivate_wp_reset_additional for additional plugins to auto reactivate after reset
  • Add a Reset link to the admin bar under the site title

1.2 (2010-04-04):

  • Updates to fix deprecated notices for WP 3.0
  • Updates for 3.0 to disable password nag
  • Modify new blog email to not include the generated password

1.1 (2009-10-01):

  • WordPress 2.8 Updates, do not show auto generated password nag after reset

1.0 (2009-03-17):

  • Initial Public Release

15 Responses to WordPress Reset

  1. Brad says:

    Awesome plugin Matt! I’ve needed a plugin to reset everything so can’t wait to test it out!

  2. It’s been great working with Matt on a few plugins, he’s very responsive and uber uber UBER knowledgeable with WordPress and PHP. He’s done things I couldn’t have even dreamed of with code.

    We tested out this plugin with a few variations of text and methods for resetting and I think this initial release is a good one.

  3. Pingback: WordPress Plugin Releases for 03/18 | Weblog Tools Collection

  4. Pingback: WordPress Plugin Releases for 03/18 | BlogBroker24-7

  5. Pingback: ریست کردن دیتابیس وردپرس توسط افزونه WordPress Reset | ايران گت :: IranGet

  6. Pingback: WordPress Plugin Releases for 03/18 | TechnoBlog

  7. Pingback: WordPress Plugin Releases for 03/18 | boomtchik.com

  8. Pingback: 回到刚认识你的时候插件:WordPress Reset | 作甚@ZUOSHEN.COM

  9. VVOR says:

    Nice plugin!
    Haven’t used it yet but I will install it :)

    Thanks

  10. Hi,

    Would it be possible to modify this plugin to just rest the wp_options table, thereby deleting all customization but leaving the content?

    TIA

  11. Pothi says:

    Amazing plugin. I love it. :)

  12. Jamie Marciano says:

    Awesome, was looking for something like this while developing my theme! Great work!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre>