外掛說明
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
draftandauto-draftposts 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.
螢幕擷圖
安裝方式
- Upload the plugin files to the
/wp-content/plugins/duplicate-and-auto-draft-cleanerdirectory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the
Pluginsscreen in WordPress. - Go to
Settings > Auto Draft & Duplicate Cleaner. - Configure draft cleanup, duplicate cleanup, and automation settings.
常見問題集
-
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.
使用者評論
參與者及開發者
變更記錄
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
draftandauto-draftstatuses. - 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.


