=== iWorks.ie Database Cleaner ===
Contributors: littlegreenman
Tags: database, cleanup, transients, revisions, orphaned
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Finds database clutter, shows a preview, and deletes only what you tick after you confirm a backup.

== Description ==

iWorks.ie Database Cleaner finds expired transients, orphaned meta, old revisions, leftover auto-drafts, trash and spam. It never deletes anything until you preview it, tick the categories you want, confirm you have a backup, and press Clean.

**Nothing locked, no Pro version.** The full cleaner is in this plugin.

Installing it changes nothing. No category is ticked. There is no OPTIMIZE TABLE in 1.0.0, because that locks tables on shared hosting. It does not touch other plugins' custom tables, published content, users, or options other than expired transients.

= What it cleans =

* Expired transients, including site transients on multisite
* Orphaned post meta, comment meta, term relationships and user meta
* Post revisions beyond the last N per post (N defaults to 5)
* Auto-drafts older than 7 days and trashed posts older than 30 days
* Spam comments and trashed comments older than 30 days
* Expired oEmbed cache entries

It also reports autoloaded options size and tables with overhead, with no delete button on those.

More free plugins and help from iWorks: https://iworks.ie/wp-tools/

== Installation ==

1. Upload the `iworksie-database-cleaner` folder to `/wp-content/plugins/`, or install the zip from Plugins → Add New.
2. Activate the plugin.
3. Open **iWorks Tools → Database Cleaner**, review the scan, then tick only what you want to remove.

== Frequently Asked Questions ==

= Does installing it delete anything? =

No. Nothing is selected. The Clean button stays off until you tick a category and confirm you have a backup.

= Can I undo a clean? =

Download the rows as SQL first (recommended). That file contains INSERT statements for the rows about to be removed.

= Nothing locked, no Pro version? =

Yes. There is no paid upgrade inside this plugin.

= Does this plugin contact other sites? =

No. It only reads and, when you ask, writes your own WordPress database.

== Changelog ==

= 1.0.0 =
* First public release.

== Upgrade Notice ==

= 1.0.0 =
First public release.
