Beschreibung
Resets the WordPress database back to its defaults. Deletes all customizations and content. Does not modify files only resets the database.
Dies ist ein sehr nützliches Plugin für Plugin- und Theme-Entwickler.
Wenn der Admin-Benutzer existiert und Level_10 Berechtigungen hat, wird er mit seinem aktuellen Passwort und seiner E-Mail-Adresse neu erstellt. Bei einem Dummy-Account ohne Administratorrechte wird der eingeloggte Benutzername mit seiner E-Mail-Adresse und dem aktuellen Passwort neu erstellt. Der Blog-Name wird ebenfalls beibehalten.
Diese Plugin wird einen Eintrag in der Adminleiste unter dem Website-Titel erstellen und hat die Fähigkeit sich selbst und andere Plugins, nach einem Reset, wieder zu aktivieren.
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.
Aktualisierung
- Benutze den Plugin Updater in WordPress oder …
- Lösche den bisherigen
wordpress-resetOrdner aus dem/wp-content/plugins/Verzeichnis - Lade den neuen
wordpress-resetOrdner in das/wp-content/plugins/Verzeichnis
Verwendung
- Rufe die WordPress Reset Werkzeugseite auf, indem du entweder auf den Link in der Admin-Leiste oder auf Werkzeuge > WordPress Reset klickst.
- Gib 'reset' in das Textfeld ein und klicke auf Reset.
Installation
- Lade den
wordpress-resetOrdner in das/wp-content/plugins/Verzeichnis oder installiere direkt mit dem Plugin Installer. - Aktiviere dieses Plugin in WordPress im Plugin Bereich oder nutze den Link, der vom Plugin Installer angezeigt wird, direkt nach der Installation.
FAQ
-
Wie kann dieses Plugin nach einem Reset automatisch wieder aktiviert werden?
-
Füge
define( 'REACTIVATE_WP_RESET', true );in derwp-config.phpoberhalb von/* That's all, stop editing! Happy blogging. */ein. -
Kann dieses Plugin nach dem Ausführen eines Reset automtisch andere Plugins wieder aktualisieren?
-
Füge dem globalen Geltungsbereich ein Array mit dem Namen
$reactivate_wp_reset_additionalhinzu, indem du es in derwp-config.phpoberhalb von/* That's all, stop editing! Happy blogging. */platzierst. Das Array beinhaltet die Plugin-Basisnamen der zu aktivierenden Plugins wie z.B.:$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.
Rezensionen
Mitwirkende und Entwickler
„WP Database Reset“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
MitwirkendeÜbersetze „WP Database Reset“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
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
19. Januar 2016
- Fix compatibility with PHP 7.0
- Internationalisierung
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):
- Erste Veröffentlichung
