Linux 软件免费装
Banner图

WordPress Reset

开发者 aristath
sivel
更新时间 2022年2月25日 15:11
PHP版本: 2.8 及以上
WordPress版本: 5.9

标签

wordpress admin reset wordpress-reset

下载

1.4.2 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 1.4 1.4.1

详情介绍:

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.

安装:

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

更新日志:

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):