Title: Duplicate and Auto Draft Cleaner
Author: Mainul Kabir Aion
Published: <strong>2025-01-28</strong>
Last modified: 2026-03-13

---

Search plugins

![](https://ps.w.org/duplicate-and-auto-draft-cleaner/assets/icon-256x256.png?rev
=3481557)

# Duplicate and Auto Draft Cleaner

 By [Mainul Kabir Aion](https://profiles.wordpress.org/aion11/)

[Download](https://downloads.wordpress.org/plugin/duplicate-and-auto-draft-cleaner.1.5.2.zip)

 * [Details](https://tt.wordpress.org/plugins/duplicate-and-auto-draft-cleaner/#description)
 * [Reviews](https://tt.wordpress.org/plugins/duplicate-and-auto-draft-cleaner/#reviews)
 *  [Installation](https://tt.wordpress.org/plugins/duplicate-and-auto-draft-cleaner/#installation)
 * [Development](https://tt.wordpress.org/plugins/duplicate-and-auto-draft-cleaner/#developers)

 [Support](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/)

## Description

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.

## Screenshots

[⌊Settings screen for configuring draft cleanup, duplicate cleanup, and automation.⌉⌊
Settings screen for configuring draft cleanup, duplicate cleanup, and automation
.⌉[

Settings screen for configuring draft cleanup, duplicate cleanup, and automation.

[⌊Duplicate cleaner screen showing duplicate detection results with filters and 
manual delete controls.⌉⌊Duplicate cleaner screen showing duplicate detection results
with filters and manual delete controls.⌉[

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.⌉⌊Draft cleaner screen showing draft filters, bulk selection, and manual
cleanup options.⌉[

Draft cleaner screen showing draft filters, bulk selection, and manual cleanup options.

## Installation

 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.

## Reviews

![](https://secure.gravatar.com/avatar/16ec19d61184f72f0b0117f2af04380e2d7d57d8fd4b16ea5f737024d3f61639?
s=60&d=retro&r=g)

### 󠀁[This is Great!](https://wordpress.org/support/topic/this-is-great-143/)󠁿

 [ashiquzzaman](https://profiles.wordpress.org/ashiquzzaman/) 2026-03-13 1 reply

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.

![](https://secure.gravatar.com/avatar/f1cab0133d0a4ddf9b0b113ed829e36bff93bac4ac8927a92ee593395fe1f265?
s=60&d=retro&r=g)

### 󠀁[Simple, technically sound and does its job well](https://wordpress.org/support/topic/simple-technically-sound-and-does-its-job-well/)󠁿

 [atik123](https://profiles.wordpress.org/atik123/) 2026-02-23 1 reply

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.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/reviews/)

## Contributors & Developers

“Duplicate and Auto Draft Cleaner” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Mainul Kabir Aion ](https://profiles.wordpress.org/aion11/)

[Translate “Duplicate and Auto Draft Cleaner” into your language.](https://translate.wordpress.org/projects/wp-plugins/duplicate-and-auto-draft-cleaner)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/duplicate-and-auto-draft-cleaner/),
check out the [SVN repository](https://plugins.svn.wordpress.org/duplicate-and-auto-draft-cleaner/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/duplicate-and-auto-draft-cleaner/)
by [RSS](https://plugins.trac.wordpress.org/log/duplicate-and-auto-draft-cleaner/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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.

## Meta

 *  Version **1.5.2**
 *  Last updated **3 ай ago**
 *  Active installations **60+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/duplicate-and-auto-draft-cleaner/)
 * Tags
 * [auto draft](https://tt.wordpress.org/plugins/tags/auto-draft/)[content cleanup](https://tt.wordpress.org/plugins/tags/content-cleanup/)
   [database cleanup](https://tt.wordpress.org/plugins/tags/database-cleanup/)[duplicate posts](https://tt.wordpress.org/plugins/tags/duplicate-posts/)
 *  [Advanced View](https://tt.wordpress.org/plugins/duplicate-and-auto-draft-cleaner/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/reviews/)

## Contributors

 *   [ Mainul Kabir Aion ](https://profiles.wordpress.org/aion11/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/duplicate-and-auto-draft-cleaner/)