Undelete for WordPress adds the ability to restore deleted posts, even after emptying the trash or ‘permanently deleting’ them.
I’m not the only person who’s accidentally hit “Delete Permanently” or “Empty Trash” on posts, only to realise I’d spend the next half hour rewriting them - something happened to a client recently that made me think “Geez, I wish I could undelete stuff.”
Backup insurance for deleted posts:
WP Undelete is like a backup utility for the stuff you delete. It operates silently in the background, without any input from you, and you won’t even know it’s there – until you need it. The plugin’s backend admin panel (which you’ll find in the Tools menu) contains a list of deleted items, with the option to either undelete or permanently erase them, one by one or in bulk.
There’s no fancy (read:buggy/annoying) user interface, and it doesn’t need 1,000 options just to run – all it uses is default WordPress display and query functions for a fast and native experience.
It’s lightweight, simple and won’t slow your site down in any way – but might save you a ton of time somewhere down the line.
Feature list and download below the screenshot.
WP Undelete Features:
- Restore deleted posts, even after hitting ‘Empty Trash’ or ‘Delete Permanently’, one by one or in bulk.
- Erase the backed up deleted posts by hand, or automatically after 28 days.
- Native WP Posts-style interface, no heavy UI required, no options page (yes, that’s a feature.)
- Operates silently in the background – doesn’t slow your site at all, or bloat the database.
- Planned for next release: ability to undelete custom post types and pages
- Planned for next release: save postmeta, tag/category associations and comments on restored posts
NB: this plugin is a first-release version with many features ‘missing’ or not implemented yet… for now, it will allow you to restore only posts (custom post types/pages support coming in next release!) – and comments of deleted posts, as well as postmeta and tags/category associations, are lost (again, this will be a feature of the next version!)
Please try it out, report any bugs that pop up, and watch out for the next release (0.1) which will add all the features you’d expect from a plugin like this.
Thanks for reading – if you enjoy the plugin, do the right thing and give it a 5 star ★★★★★ rating on wp.org!
PS. the code is on github, along with some of my other projects.