Duplicate and Auto Draft Cleaner

Changelog

1.5.0

* Added cleanup activity log for the last 20 cleanup runs. * Added a confirmation modal before manual deletions. * Improved manual selection behavior with separate “select all” controls. * Added capability checks to manual/admin actions for stronger access control. * Fixed duplicate detection query to avoid duplicate rows and over-deletion in larger duplicate groups. * Added safe defaults for empty post type/status selections to prevent invalid filter queries. * Updated draft cleanup scope to include both `draft` and `auto-draft` statuses. * Improved confirmation modal behavior for keyboard accessibility and clearer delete/trash messaging. * Fixed cron rescheduling logic so frequency changes (including every 5 minutes) take effect immediately.

1.4.2

* Minor fixes.

1.4.1

  • Fixed the issue where the script was not correctly enqueued and the select all checkbox was not working.
  • Implemented more unique prefixes for functions and options to avoid conflicts with other plugins.

1.4.0

  • Fixed the issue where 5 minutes cron job was not working for auto draft and duplicate remover.
  • Added a custom cron schedule for 5 minutes.
  • Updated the settings to support 5 minutes for automation.
  • Enhanced the schedule_auto_draft_cleanup and schedule_auto_duplicates_cleanup functions to support the 5-minute cron job.
  • Improved the code structure for better maintainability..

1.3.1

  • Fixed the issue where the settings page was cluttered.
  • Changed the help texts to italic format.
  • Added help text as tooltips or beside the options instead of below them.

1.3.0

  • Enhanced UI and added help text to the settings page.
  • Resolved issues where the duplicate tab count was showing error and the post status was not showing.
  • Improved code quality and security.
  • The Plugin is now fully working and tested.

1.2.4

  • Addressed the fatal error in render_duplicates_tab by fixing count argument.
  • Enhanced the duplicate status selection.

1.2.3

  • Fixed the fatal error in render_settings_tab by properly using in_array.
  • Code refactor for better maintainability.

1.2.2

* Fixed the `in_array` error in `render_settings_tab` * Improved code security.

1.2.1

* Fixed the Post Type filter on Draft tab. * Resolved critical error on the duplicate tab. * Fixed Post Status not showing on Settings page. * Resolved Automation settings not showing.

1.2.0

* Added “Filter by Time” on the drafts tab with “Most Recent” option * Added multi select filter for post type on draft tab. * Added multi select filter for post type and post status on the duplicate tab. * Added multi select checkboxes for post types on settings. * Added multi select dropdown for post status on settings. * Automation settings are visible now with more automation frequency options.

1.1.0

* Added Draft listing to the Drafts tab with columns for title, creation date, and post type. * Added draft count on the draft page. * Added date filter with several options to filter drafts. * Added checkboxes for selecting and deleting drafts from the list. * Added a dropdown for “Delete Permanently” or “Move to Trash” * Added more options to duplicate remover automation frequency: 5 minutes, hourly, twice a day, daily, weekly, and monthly. * Retain Draft Original Titles when moving to trash. * Improved the efficiency and readability of the code. * Added comments for better understanding. * Sanitized input data.

1.0.0

* Initial Release

Plugin Website
Visit website

Version:
1.5.0
Last Updated
February 22, 2026
Active Installs
40
Requires
WordPress 5.0
Tested Up To
WordPress 6.9.1
Requires PHP
7.0

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.