Linux 软件免费装
Banner图

WordPress Reset

开发者 aristath
sivel
更新时间 2025年10月17日 19:23
PHP版本: 6.2 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

admin reset wordpress-reset

下载

1.5.0 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 1.4 1.4.1 1.4.2 1.4.3

详情介绍:

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.

安装:

  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

升级注意事项:

1.5.0 Major update with SQLite database support, improved security, code modernization, and updated minimum requirements (WordPress 6.2+, PHP 7.4+) 1.3.3 Fix an issue where a user does not have a user_level 1.3.2 Support PHP versions below 5.3.0, by not using lambda function creation in add_action for admin_notices 1.3.1 Fix sql query, so that _ isn't being used as a single character match 1.3 Fixes a deprecated notice in WordPress 3.3, removed the $auto_reactivate variable, and look for REACTIVATE_WP_RESET to be defined in wp-config.php, as well as the ability to activate additional plugins using a global $reactivate_wp_reset_additional array defined in wp-config.php

常见问题:

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'll need to set up WordPress from scratch after the reset, unlike MySQL/MariaDB installations where your admin user is automatically recreated.

更新日志:

1.5.0 (2025-01-17): 1.4 January 19, 2016 1.3.3 (2013-12-18): 1.3.2 (2012-02-13): 1.3.1 (2012-01-29): 1.3 (2012-01-29): 1.2 (2010-04-04): 1.1 (2009-10-01): 1.0 (2009-03-17):