DB Optimizer – Changelog
Version 1.1.0 – 4th November 2026
PHP Version: 7.4+
WordPress Version: 6.5 or greater.
Tested up to: 7.1
- This release adds an optional safety backup before cleanup, optimize and repair operations. It also fixes the “Keep last N days” setting so that recently trashed or spammed items are no longer deleted early, and makes cleanup results more accurate.
Plugin:
- [NEW] The cleanup, optimize and repair confirmation dialogs can now create a Duplicator database backup before running. The option is pre-selected for cleanup and repair. DB Optimizer waits for the backup to finish and checks it again just before the operation runs, which is cancelled if the backup is no longer usable. Any problems Duplicator found while building the backup are shown in the result notice. This option requires Duplicator Pro or Duplicator Lite 5.1.0 or later and is only shown to users who are allowed to create Duplicator backups.
- [UPD] The “Keep last N days” setting now accepts at most 36,500 days (100 years). Larger values are saved as 36,500.
- [FIX] Fixed “Keep last N days” for trashed posts, trashed comments and spam comments counting from the date the item was written instead of the date it was trashed or marked as spam. Before, an old post or comment that was trashed recently could be permanently deleted while still inside the keep window.
- [FIX] Fixed the keep window being shifted by several hours when the database server runs in a timezone other than UTC.
- [FIX] Fixed the “Keep last N days” setting falling back to 7 days when it was saved as text, for example with WP-CLI. Negative values are now treated as 0.
- [FIX] The expired transients cleanup now reports only the transients it actually removed. Before, it could report transients that another plugin or a database error kept in place.
- [FIX] Fixed a cleanup that included the same item type more than once reporting 0 deleted items. Each type now runs once and the correct count is reported.
- [FIX] Fixed output from another plugin being partly lost or shown on the page while a DB Optimizer admin page loads. This output is now reported in full in the warning notice.
Version 1.0.2 – 28th August 2026
PHP Version: 7.4+
WordPress Version: 6.5 or greater.
Tested up to: 7.0
- This release fixes the trashed posts cleanup removing media files that were in the trash.
Plugin:
- [FIX] The trashed posts cleanup no longer deletes trashed media attachments. Before, trashed media was counted and removed along with regular posts, which deleted the media library record but left its files on disk.
Version 1.0.1 – 29th June 2026
PHP Version: 7.4+
WordPress Version: 6.5 or greater.
Tested up to: 7.0
- This release ties the plugin’s main features to an active license.
Plugin:
- [UPD] Database cleanup, table optimize and repair, and the health score now require an active license. Without a valid license, these tabs show a prompt to activate one. The backup reminder on the Cleanup tab is still available without a license.
Version 1.0.0 – 2nd June 2026
PHP Version: 7.4+
WordPress Version: 6.5 or greater.
Tested up to: 7.0
- Initial release of Duplicator DB Optimizer, a WordPress plugin for checking the health of your database, cleaning up unneeded data and optimizing database tables.
Plugin:
- [NEW] Database health score from 0 to 100, based on table overhead, expired transients, post revisions, autoloaded data size and items in the trash.
- [NEW] Database cleanup for post revisions, auto-drafts, trashed posts and comments, spam comments, expired transients (including network transients on multisite), pingbacks, trackbacks and oEmbed cache.
- [NEW] “Keep items from the last X days” setting (7 days by default) that protects recent content from cleanup.
- [NEW] Table management screen listing your WordPress tables with their size, overhead, storage engine and row count, with one-click optimize and repair.
- [NEW] Confirmation dialog that shows exactly what will be cleaned, optimized or repaired before anything runs.
- [NEW] Cleanup results that show how many items were removed and refresh the counts after each operation.
- [NEW] Duplicator Pro integration that warns you on the Cleanup tab when a backup is missing or out of date.
- [NEW] Accessible, translation-ready admin screens that follow the WordPress admin design and work on mobile.