Duplicate and Auto Draft Cleaner

Descripción

Duplicate and Auto Draft Cleaner helps WordPress site owners keep the database cleaner by removing stale drafts, finding duplicate posts, and giving admins safer cleanup controls before anything is deleted.

Why site owners use it

When drafts pile up and duplicate posts slip into a site, the admin area becomes harder to manage and content cleanup becomes risky. This plugin focuses on a simple workflow:

  • Review drafts and duplicates from one settings screen.
  • Filter what you want to clean before taking action.
  • Confirm manual deletions before they run.
  • Track recent cleanup activity for better transparency.
  • Automate repeat cleanup tasks on a schedule.

Key features

  • Remove old draft and auto-draft posts manually or automatically.
  • Detect duplicate posts and pages based on matching titles within the selected post type and status filters.
  • Move drafts and duplicate posts to Trash or permanently delete them, depending on your settings.
  • Review the last 20 cleanup actions in the activity log.
  • Confirm manual delete actions before cleanup starts.
  • Run cleanup every 5 minutes, hourly, twice daily, daily, weekly, or monthly.
  • Limit cleanup by post type and duplicate status filters.
  • See the last successful automated draft and duplicate cleanup times from the settings screen.

What you can manage

  • Draft Cleaner
    Clean old drafts by age, choose allowed post types, and decide whether selected drafts go to Trash or are permanently deleted.

  • Duplicate Cleaner
    Review duplicate content, filter by post type and post status, then move selected duplicates to Trash or delete them permanently.

  • Automation
    Enable scheduled draft cleanup and scheduled duplicate cleanup separately from the plugin settings page.

  • Cleanup Activity Log
    See the latest cleanup actions with date, cleanup type, and number of items deleted.

Safe cleanup workflow

The plugin is designed to reduce accidental data loss:

  • Manual cleanup actions show a confirmation dialog before deletion.
  • Draft cleanup can be routed to Trash instead of permanent deletion.
  • Recent cleanup history stays visible in the activity log.

Support

For support, bug reports, or feature requests, please visit:

https://mkaion.com/duplicate-and-auto-draft-cleaner

Credits

Plugin developed by Mainul Kabir Aion.

Capturas de pantalla

  • Settings screen for configuring draft cleanup, duplicate cleanup, and automation.
  • Duplicate cleaner screen showing duplicate detection results with filters and manual delete controls.
  • Draft cleaner screen showing draft filters, bulk selection, and manual cleanup options.

Instalación

  1. Upload the plugin files to the /wp-content/plugins/duplicate-and-auto-draft-cleaner directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Settings > Auto Draft & Duplicate Cleaner.
  4. Configure draft cleanup, duplicate cleanup, and automation settings.

FAQ

Will this delete posts permanently?

Drafts and duplicate posts can be moved to Trash or permanently deleted, based on your settings.

Does the plugin support automatic cleanup?

Yes. You can enable automatic draft cleanup and duplicate cleanup from the settings tab, choose a cleanup interval, and review the last automated run times from the settings screen.

Why did a scheduled cleanup not run exactly after 5 minutes?

WordPress scheduled tasks depend on WP-Cron, which runs when the site receives traffic unless you use a server-level cron job to trigger wp-cron.php.

Can I filter which content gets checked?

Yes. Draft cleanup can be limited by post type and age. Duplicate cleanup can be filtered by post type and post status.

How are duplicates identified?

Duplicate posts are identified by matching post titles within the selected post type and post status filters.

Where are the plugin settings stored?

The plugin stores its settings and cleanup log in the WordPress options table.

Reseñas

13 de Marzo de 2026 1 respuesta
What I like about this plugin is that it doesn’t show a custom graded shiny new page design with complex options and shove it down your throat with premium options. It’s simple and does what it’s intended to do. 5 stars from me.
23 de Febrero de 2026 1 respuesta
Have been using this plugin for a while and it works reliably! Keeps the database lighter by clearing unnecessary auto-drafts without affecting published content and the scheduling options are very helpful too. Simple, technically sound and does its job well.
Leer los 2 comentarios

Colaboradores & Desarrolladores

“Duplicate and Auto Draft Cleaner” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Historial de cambios

1.5.2

  • Reissued the release with corrected packaging so WordPress.org release confirmation can process a fresh version.

1.5.1

  • Added last automated run status for draft and duplicate cleanup on the settings screen.
  • Added Trash support for duplicate cleanup in both manual and scheduled runs.
  • Added selected item count feedback to the draft and duplicate cleanup forms.
  • Clarified duplicate matching rules in the plugin UI and readme.

1.5.0

  • Added a cleanup activity log for the last 20 cleanup runs.
  • Added a confirmation modal before manual deletions.
  • Improved manual selection behavior with separate bulk-select controls.
  • Added capability checks to sensitive admin actions.
  • Fixed duplicate detection logic to avoid duplicate rows and over-deletion in larger duplicate groups.
  • Added safe defaults for empty post type and status selections.
  • Updated draft cleanup scope to include both draft and auto-draft statuses.
  • Improved confirmation modal accessibility and clearer Trash vs delete wording.
  • Fixed cron rescheduling so schedule changes, including every 5 minutes, apply correctly.

1.4.2

  • Minor fixes.

1.4.1

  • Fixed script enqueue issues affecting the bulk-select checkbox.
  • Improved prefixes for functions and options to reduce conflicts.

1.4.0

  • Fixed the 5-minute cron schedule for draft and duplicate cleanup.
  • Added a custom 5-minute schedule option.
  • Updated automation settings to support 5-minute runs.