WordPress Reset

Description

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.

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.

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

FAQ

Installation Instructions
  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
How can I get this plugin to automatically reactive after the reset?

Add define( 'REACTIVATE_WP_RESET', true ); to wp-config.php above /* That's all, stop editing! Happy blogging. */

Can this plugin reactivate other plugins automatically after performing the reset?

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'
);

Reviews

Two domains one database flawless reset!

So I am not a WP developer mainly just a user of the talented WP developers out there, so I hear the words reset database and I got so nervous. Especially because I just created a subdomain and only needed to reset the subdomain and not the primary domain. Both the subdomain and primary site use the same database with different wp_ prefixes for table names except they both share the user and user meta table, so I can have single sign-on between the two domains. It was like magic. The primary domain was completely unaffected and the subdomain reset to defaults. I was able to reinstall my new subdomain theme perfectly. The old theme folder was even still there and I had to go into the file folder to manually delete it, plus all of the plugins that I had installed previously were just set to deactivated. Nothing deleted. I am so happy. Thank you to the wonderful folks out there that can do what I haven’t learned how to do and make my life easy! 🙂

Love it

So easy, its criminal! 🙂 Great plugin to just start all over, as opposed to the alternative! Thank you so much for providing this handy plugin!

Read all 60 reviews

Contributors & Developers

“WordPress Reset” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WordPress Reset” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4

January 19, 2016

  • Fix compatibility with PHP 7.0
  • Internationalization

1.3.3 (2013-12-18):

  • Fix an issue where a user does not have a user_level

1.3.2 (2012-02-13):

  • Support PHP versions below 5.3.0, by not using lambda function creation in add_action for admin_notices

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