DB Reset Pro

Description

DB Reset Pro allows you to quickly reset your WordPress database to its default state without affecting your files or media uploads. This is extremely useful for developers, testers, and anyone who needs a clean WordPress installation without reinstalling.

Key Features

  • Safe Reset Process: Properly resets the database with proper security checks
  • Preserves Important Data: Keeps your site name and admin account with the current password
  • Selective Reset Options: Clear understanding of what will be reset and what will be preserved
  • Plugin Reactivation: Option to automatically reactivate this plugin and others after reset
  • Enhanced Security: Proper nonce verification and capability checks
  • Modern Design: Clean, WordPress-native interface

Use Cases

  • Development & Testing: Reset your test site to a clean state between tests
  • Debugging: Determine if issues are caused by database content vs. code
  • Learning: Quickly revert to defaults when exploring WordPress
  • Clean Start: Remove accumulated data without a full reinstall

Important Notes

  1. This plugin will delete all your posts, pages, custom post types, comments, and users except the admin account
  2. Your themes and plugins will be deactivated but remain installed
  3. Your media uploads will not be affected
  4. Your WordPress core files will not be modified
  5. Always backup your database before using this plugin

Screenshots

Installation

  1. Upload the db-reset-pro folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Tools DB Reset Pro to access the reset interface

FAQ

Will this plugin delete my media uploads?

No. DB Reset Pro only resets the database. Your uploaded files in wp-content/uploads remain untouched.

Will my themes and plugins be deleted?

No. All installed themes and plugins will remain on your server. However, they will be deactivated after reset. You can configure DB Reset Pro to automatically reactivate certain plugins after reset.

How can I have this plugin auto-reactivate after reset?

Add this line to your wp-config.php file:
define( ‘REACTIVATE_DB_RESET_PRO’, true );

Can I have other plugins auto-reactivate as well?

Yes. Add an array called $reactivate_wp_reset_pro_additional to your wp-config.php file with the plugin paths:

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

Is this plugin compatible with multisite?

This plugin is designed for single site installations. Use with caution on multisite networks.

Will my admin password change?

No. The admin user will be recreated with the current password, so you can still log in after the reset.

Reviews

There are no reviews for this plugin.

Contributors & Developers

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

Contributors

Translate “DB Reset Pro” into your language.

Interested in development?

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

Changelog

1.0.0

  • Complete rewrite with modern code standards
  • Enhanced security with proper nonce verification
  • Improved UI with clear reset summaries
  • Added transactions support for safer database operations
  • Better error handling with clear user feedback
  • Updated to follow WordPress coding standards
  • Added proper internationalization support
  • Removed deprecated function usage
  • Better capability checks for security