Description
ResetForge for Multisite is engineered from the ground up for WordPress Multisite networks. Unlike traditional single-site reset plugins that execute broad TRUNCATE wp_* queries, this plugin enforces strict database prefix isolation, filesystem sandboxing, and resource classification to ensure that resetting a subsite never impacts other sites, shared users, or network configuration.
Key Features
- Strict Multisite Scope Isolation: Distinguishes network tables, site-specific tables, shared user tables, and third-party plugin tables.
- Granular Reset Profiles:
- Content Reset: Safely removes posts, pages, terms, taxonomies, and comments while preserving media, options, and plugins.
- Content + Media Reset: Cleans content and site-specific uploads directory while leaving root uploads untouched.
- Development Reset: Cleans content, media, transients, and plugin site tables for iterative development.
- Factory Reset: Reverts a subsite to a clean initial state while preserving core routing and bootstrap options.
- Deterministic Reset Plans & Dry-Run: Inspect exact discovered tables, row counts, and upload sizes prior to any destructive operation.
- Safety Snapshots: Generates pre-operation database table dumps and JSON metadata manifests in protected storage.
- Post-Reset Invariant Verification: Automatically verifies network integrity, user table invariance, and target cleanup post-execution.
- Network Audit Log: Permanent network-level ledger of all reset operations, users, durations, and results.
- WP-CLI Native Integration: Identical core engine exposed via
wp resetforge {sites|scan|reset|history}. - Concurrency Locking: Prevents double-submissions, parallel execution conflicts, and race conditions.
Installation
- Upload
resetforge-for-multisiteto the/wp-content/plugins/directory, or install through Network Admin. - Network Activate the plugin through the ‘Plugins’ menu in WordPress Network Admin.
- Access the toolkit under Network Admin > ResetForge.
FAQ
-
Does resetting a subsite delete users?
-
No. In WordPress Multisite, users reside in the global
wp_usersandwp_usermetatables. Resetting a subsite only removes site-specific role assignments and leaves user accounts intact across the network. -
Can I reset the Main Site?
-
Yes, but the Main Site (
blog_id = 1) receives enhanced safeguards. Shared network options and subsite uploads folders (/uploads/sites/) are strictly protected from deletion. -
Is WP-CLI supported?
-
Yes. You can run
wp resetforge scan <site-id>andwp resetforge reset <site-id>using the exact same safety engine.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ResetForge for Multisite” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “ResetForge for Multisite” 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
- Initial production release of ResetForge for Multisite.
