=== Invizo Advanced Reset Suite ===
Contributors: invizo
Tags: reset, database reset, snapshots, cleanup, developer tools
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Reset WordPress with typed confirmations, database snapshots, and focused cleanup tools for development and staging sites.

== Description ==

Invizo Advanced Reset Suite is a developer-focused reset and cleanup utility for WordPress. It can reset site data, create database snapshots, restore snapshots, remove generated content, clean selected database areas, and run file cleanup actions from a dedicated admin screen.

Important: this plugin performs destructive actions. Use it only on local, development, staging, or disposable test sites unless you have a verified backup and understand the outcome.

Highlights:

* Full reset, nuclear reset, and custom reset workflows.
* Database snapshots before risky changes.
* Restore, compare, download, and delete snapshots.
* Cleanup tools for transients, theme options, comments, revisions, widgets, uploads, plugins, themes, and custom tables.
* Typed confirmation text for destructive REST actions.
* Capability checks for administrator-only access.

== Installation ==

1. Upload the `invizo-advanced-reset-suite` folder to `/wp-content/plugins/`.
2. Activate the plugin through the Plugins screen in WordPress.
3. Go to Advanced Reset in the WordPress admin menu.
4. Create a database snapshot before running destructive tools.

== Frequently Asked Questions ==

= Should I use this on a production site? =

No. This plugin is intended for local development, staging, QA, demos, and disposable test sites. It can permanently delete content, database tables, plugin files, theme files, uploads, and settings.

= Does this plugin contact external services? =

The plugin does not track users and does not send site data to Invizo. It may contact WordPress.org APIs only when you search for plugins/themes, install a collection item from WordPress.org, or request available WordPress core versions.

= Where are snapshots stored? =

Snapshots are stored in `wp-content/uploads/invizo-advanced-reset-suite/snapshots/` as compressed SQL files. The directory includes access protection files, but you should still treat snapshots as sensitive database backups.

= Where is the source code for the admin app? =

The human-readable React/Vite source is included in the `src/` directory. To rebuild the bundled admin assets, run `npm install`, then `npm run build:admin` from the plugin root. Release zip generation is handled by `npm run build:zip`.

= Can actions be undone? =

Only if you created a valid snapshot or external backup before the action and that backup can be restored successfully.

== Privacy ==

Invizo Advanced Reset Suite does not collect analytics, create tracking beacons, or send personal information to Invizo. Administrator-triggered search/install/version features may request public package information from WordPress.org.

== Screenshots ==

1. Reset workflows with typed confirmations.
2. Snapshot management for creating, restoring, comparing, and downloading database snapshots.
3. Cleanup tools grouped by database, files, cache, content, and system actions.

== Changelog ==

= 1.0.1 =
* Fixed release packaging to exclude development-only PostCSS and Tailwind config files.
* Removed dynamic PHP placeholder creation from the uploads storage directory.
* Fixed a vendored diff sorting typo that could cause a fatal error.
* Replaced scanner-flagged generic variable names in cache and dump code paths.

= 1.0.0 =
* Initial WordPress.org-ready release.
* Added reset workflows, snapshots, cleanup tools, admin UI, REST API, and WP-CLI commands.
* Added typed confirmations and request sanitization for destructive actions.

== Upgrade Notice ==

= 1.0.1 =
Fixes WordPress.org review findings in packaging, uploads storage setup, and snapshot diff support.

= 1.0.0 =
Initial release.
