=== Glatch Database Table Optimizer ===
Contributors: suginoki45
Tags: database, optimization, cleanup, transients, revisions
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Safely delete unnecessary data from your WordPress database to improve performance. A developer-focused plugin for database optimization.

== Description ==

Glatch Database Table Optimizer is a developer-focused plugin that safely removes unnecessary data from your WordPress database to improve performance.

= Key Features =

* **Transient Data Cleanup** - Delete expired transients and unnecessary transient data
* **Revision Management** - Remove old revisions while keeping the most recent N revisions
* **Detailed Analysis** - Analyze database status and display optimization opportunities
* **Safe Design** - Confirmation dialog before deletion
* **Backup & Restore** - Automatically backup data before deletion and restore from backup history

= Target Users =

* Web development agencies
* Freelance developers
* Long-term site administrators

= Future Features (Pro Version) =

* Orphan table detection and deletion
* post_meta optimization
* Scheduled cleanup
* Detailed reports

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/glatch-database-table-optimizer` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Access from the 'DB Optimizer' menu in the admin dashboard

== Frequently Asked Questions ==

= Is it safe to delete the data? =

Transients and old revisions can be safely deleted without affecting your site's functionality. We recommend creating a backup before deletion.

= Can I restore deleted data? =

Yes, if you have enabled the backup feature, you can restore deleted data. You can perform restore operations from the backup history in each panel. Backups are automatically saved up to 5 per type.

= What is Dry Run (Delete Preview)? =

The delete preview feature allows you to check the data to be deleted and the count before actually performing the deletion. We recommend using this feature for safe cleanup.

= How often should I run this? =

It depends on your site's update frequency, but we recommend running it about once a month.

== Screenshots ==

1. Dashboard screen - Display database overview
2. Transient management screen - Analyze and delete transients
3. Revision management screen - Analyze and delete revisions
4. Backup feature - Backup before deletion and restore
5. Cleanup history - Display cleanup operation logs

== Changelog ==

= 1.0.0 =
* Initial release
* Transient cleanup functionality
* Revision management functionality
* React-based admin UI

== Source Code ==

This plugin uses React (JSX) and is built with @wordpress/scripts (webpack). The uncompressed source code is publicly available on GitHub:

https://github.com/suginoki45/glatch-database-table-optimizer

== Upgrade Notice ==

= 1.0.0 =
Initial release.
