Title: WP Database Reset
Author: Joost de Valk
Published: <strong>Ẹrẹ́nà 17, 2009</strong>
Last modified: Ọ̀wàrà 17, 2025

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/wordpress-reset/assets/banner-772x250.png?rev=1330994)

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/wordpress-reset/assets/icon.svg?rev=1330992)

# WP Database Reset

 Láti ọwọ́ [Joost de Valk](https://profiles.wordpress.org/joostdevalk/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/wordpress-reset.1.5.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/wordpress-reset/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/wordpress-reset/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/wordpress-reset/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/wordpress-reset/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/wordpress-reset/)

## Àpèjúwe

Resets the WordPress database back to its 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.

**Database Compatibility:** This plugin supports both MySQL/MariaDB and SQLite databases.
For SQLite installations, the reset process will delete the database file and redirect
you to the WordPress installation screen.

### 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.

## Ìgbéwọlẹ̀

 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

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

### Does this plugin work with SQLite databases?

Yes! For SQLite databases, the plugin will delete the database file and redirect
you to the WordPress installation screen. This means youÌtumọ̀ Yorùbá: ’ll need 
to set up WordPress from scratch after the reset, unlike MySQL/MariaDB installations
where your admin user is automatically recreated.

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/b520826c6ae4f54d949723318f70f291ee382c1fe80dd6d68601404edd5d13f7?
s=60&d=retro&r=g)

### 󠀁[It works but it deletes wp_users on some cases…](https://wordpress.org/support/topic/it-works-but-it-deletes-wp_users-on-some-cases/)󠁿

 [federicorojas1100](https://profiles.wordpress.org/federicorojas1100/) Ọwẹ́wẹ̀ 
26, 2023

Well, it works… but if the wordpress database has a diferent prefix it also deletes
wp_users. In my case was w7_users and deleted all users. I guess it works fine if
the prefix is default wp_users

![](https://secure.gravatar.com/avatar/18976976723d48b71e04b7e6d11d65ef2e4b065cd410b27b803e0d2b823c88e3?
s=60&d=retro&r=g)

### 󠀁[Simple and minimal](https://wordpress.org/support/topic/simple-and-minimal-2/)󠁿

 [rabmalin](https://profiles.wordpress.org/rabmalin/) Ẹrẹ́nà 24, 2023

Simple and minimal. Does what is say. Does not slap your face with annoying ads.
Thanks for the plugin.

![](https://secure.gravatar.com/avatar/b1d70fad91d86a903c0309a3ef9c52d1f1d7bfa5de6ee235c26dcc47338fbdc0?
s=60&d=retro&r=g)

### 󠀁[Don´t use this plugin](https://wordpress.org/support/topic/dont-use-this-plugin-32/)󠁿

 [ralphvanelli](https://profiles.wordpress.org/ralphvanelli/) Ọ̀pẹ 15, 2021 1 ìdáhùn

This plugins delete all users from your wordpress installation. Don´t have updates
in 2 years.

![](https://secure.gravatar.com/avatar/63bd7fa4f4d8909bb99aa734a97d8335125cb2edbe4af9b4145df30239ab897e?
s=60&d=retro&r=g)

### 󠀁[Delete all users](https://wordpress.org/support/topic/delete-all-users/)󠁿

 [mainadministrator](https://profiles.wordpress.org/mainadministrator/) Ọ̀wàrà 8,
2021 2 àwọn ìdáhùn

It deletes all the users from database when I try to reset the site, I can never
login to that site, I had to restore Wordpress. Fixed the bug asap/.

![](https://secure.gravatar.com/avatar/9ce9080fefe6d5a72f89de34f8f5269c10a7ba8791c2bd0a34956dbb4df41a20?
s=60&d=retro&r=g)

### 󠀁[Simple, blot and ad free](https://wordpress.org/support/topic/simple-blot-and-ad-free/)󠁿

 [9r1nc3w1ll](https://profiles.wordpress.org/9r1nc3w1ll/) Agẹmọ 14, 2020

It just works. No ad, blot, or distractions. I had to create an account just to 
leave this review.

![](https://secure.gravatar.com/avatar/abe4711ffcb73c1e05d3a5e2852b081588dc1cd18ee64a9d621de67050836107?
s=60&d=retro&r=g)

### 󠀁[Splendid](https://wordpress.org/support/topic/splendid-50/)󠁿

 [Arash! 😉](https://profiles.wordpress.org/aaraaash/) Agẹmọ 14, 2020

Exactly what I was looking for Fast, easy to use and very through! Thanks 🖖

 [ Ka gbogbo àwọn àgbéyẹ̀wò 69 ](https://wordpress.org/support/plugin/wordpress-reset/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“WP Database Reset” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe 
ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Joost de Valk ](https://profiles.wordpress.org/joostdevalk/)
 *   [ Ari Stathopoulos ](https://profiles.wordpress.org/aristath/)
 *   [ Matt Martz ](https://profiles.wordpress.org/sivel/)

[Túmọ̀ “WP Database Reset” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/wordpress-reset)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/wordpress-reset/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/wordpress-reset/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/wordpress-reset/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/wordpress-reset/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.5.0 (2025-01-17):

 * Added full SQLite database compatibility including support for SQLite Database
   Integration plugin
 * Modernized code to meet WordPress Coding Standards
 * Added comprehensive PHPUnit test coverage
 * Improved input sanitization and output escaping
 * Refactored JavaScript to vanilla JS (removed jQuery dependency)
 * Enhanced error handling with try-catch blocks
 * Updated minimum requirements: WordPress 6.2+, PHP 7.4+

#### 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

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.5.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **oṣù 12 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **5,000+**
 *  Ẹ̀yà WordPress ** 6.2 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.8.11**
 *  Ẹ̀yà PHP ** 7.4 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/wordpress-reset/)
 * Àwọn àmì
 * [admin](https://yor.wordpress.org/plugins/tags/admin/)[reset](https://yor.wordpress.org/plugins/tags/reset/)
   [wordpress-reset](https://yor.wordpress.org/plugins/tags/wordpress-reset/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/wordpress-reset/advanced/)

## Àwọn ìbò

 4.5 lára àwọn ìràwọ̀ 5.

 *  [  57 5-star reviews     ](https://wordpress.org/support/plugin/wordpress-reset/reviews/?filter=5)
 *  [  3 4-star reviews     ](https://wordpress.org/support/plugin/wordpress-reset/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wordpress-reset/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/wordpress-reset/reviews/?filter=2)
 *  [  7 1-star reviews     ](https://wordpress.org/support/plugin/wordpress-reset/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wordpress-reset/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/wordpress-reset/reviews/)

## Àwọn Olùkópa

 *   [ Joost de Valk ](https://profiles.wordpress.org/joostdevalk/)
 *   [ Ari Stathopoulos ](https://profiles.wordpress.org/aristath/)
 *   [ Matt Martz ](https://profiles.wordpress.org/sivel/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/wordpress-reset/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](http://aristath.github.io/donate)