Skip to content

Releases: andrewbakercloudscale/wordpress-database-cleanup-plugin

v2.4.31 — Table Overhead Repair + Orphaned Options

23 Mar 21:15

Choose a tag to compare

What's New

🔧 Table Overhead Repair

After bulk deletes, MySQL tables accumulate fragmentation gaps. New card in DB Cleanup tab:

  • Dry Run — lists all tables with >100 KB overhead, sorted by size, with engine info
  • Repair Tables — runs OPTIMIZE TABLE one table at a time (chunked, progress bar)
  • RAG badge — green <5 MB, amber <20 MB, red >20 MB — updates live after repair
  • InnoDB: online DDL, no table lock. MyISAM: brief lock noted in Explain modal

♻️ Orphaned Plugin Options — Recycle Bin

  • Deleted options are now moved to a recycle bin, not permanently deleted
  • Restore All — restores everything in one click
  • Per-row ↩ Restore — restore individual items from the View panel
  • Empty Bin — permanently deletes all bin contents (with confirmation)
  • Bin bar always visible; grey when empty, amber when items present
  • Select Known Plugins button for quick selection
  • cs_ and csc_ prefixes mapped to CloudScale Consulting

⚡ Autoload + other fixes

  • Autoload RAG badge updates live after cleanup (no page refresh needed)
  • Orphaned bin count label updates immediately after Move to Recycle Bin

v2.4.21 — Autoloaded Options Cleanup

23 Mar 20:18

Choose a tag to compare

What's New

⚡ Autoloaded Options Monitor & Cleanup

WordPress loads autoloaded options on every page request. Expired transients and plugin caches often accumulate here, silently bloating memory usage.

New in DB Cleanup tab:

  • Dry Run — previews total autoload size, top 20 rows by size, expired transient count, and what cleanup will do
  • Clean Autoload Now — deletes expired transients and disables autoloading on remaining transient rows (non-destructive; no plugin data removed)

New health metric tile:

  • Dashboard now shows Autoload Size as a 5th tile with RAG colouring: green < 800 KB, amber < 2 MB, red > 2 MB

Changelog

  • Add Autoloaded Options card to DB Cleanup tab
  • Add autoload size health tile to dashboard (5th tile, RAG coloured)
  • Add csc_autoload_scan, csc_autoload_start, csc_autoload_chunk, csc_autoload_finish AJAX handlers

v2.4.20 — Move to Recycle confirmation modal

23 Mar 20:02

Choose a tag to compare

What's new

  • Move to Recycle confirmation modal — clicking ♻️ Move to Recycle now shows a clean dialog with the number of unused attachments found in the dry run, plus a brief explanation that files are moved (not deleted) and the action is fully reversible
  • Bug fix — modal was nested inside the Collect Metrics modal (missing </div>), causing it to render at 0×0 and appear to do nothing

Build

  • Removed WP Plugin Standards review from build pipeline and pre-push hook

v2.0.1

28 Feb 23:14

Choose a tag to compare

Initial open source release of CloudScale Cleanup.