Trash Manager
WordPress 2.9 introduced compete new functionality – Trash. By default it is not possible to directly delete posts, pages and comments – you have to move them to Trash first, and then delete them. This is of course helpful for novice users, but for advanced ones this is only an obstacle.
It is possible to disable Trash completely (by defining EMPTY_TRASH_DAYS
to 0 in your wp-config.php
file, but there is no way to have both Trash enabled and be able to delete without moving to Trash at the same time.
Another change done in WordPress 2.9 is removal of all ‘Are you sure?’ dialogs. For trashing posts/pages/comments it is fine (although many users may expect to confirm this, like in MS Windows). Unfortunately there is no confirmation dialog when you remove trashed item completely, so you have to be more careful than before when you click somewhere.
In order to resolve above issues, I wrote Trash Manager plugin. It adds ‘Delete Permanently’ link to post, page and comments list, so you can delete them directly without moving them to Trash first. It also restores ‘Are you sure?’ dialogs, so you do not have to take extra care when you click.
Available translations:
- English
- Polish (pl_PL) – done by me
- Dutch (nl_NL) – thanks Rene
- Japanese (ja_JP) – thanks Fumito Mizuno
- Belorussian (be_BY) – thanks Marcis G.
- Upload
trash-manager
directory to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure and enjoy 🙂
1.2
- Added configuration screen;
- Updated Polish translation;
- Added Japanese translation (thanks Fumito Mizuno);
- Added Belorussian translation (thanks Marcis G.)
1.1.1
- Added Dutch translation (thanks Rene);
- Code cleanup
1.1
- Fix: WP always moves posts/pages/comments to trash instead of deleting them directly – added workaround;
- Added Polish translation
1.0
- Initial version
Alternative Plugins for Trash Manager
Find and delete duplicates posts, pages, custom post type posts and set 301 redirect to the new or old URL.
Categories: General
Provides a configurable control over the trash emptying algorithm wordpress uses without changing wp-config.php
Categories: General
This plugin allows you to delete Posts, Pages and Comments without moving them to Trash…
Categories: General
Records which user trashed a post and when they trashed it. Displays that info as columns in admin trashed posts listings.
Categories: General
Plugin for WordPress that adds a notice in dashboard about WordPress automatically removing trashed posts after 30 days.
Categories: General
Generate unique disposable contact addresses for each visitor.
Categories: General
Trash or recycle menu items of menus
Categories: General
Manage icomoon package.
Categories: General
Require confirmation before deleting items from the Trash, or emptying the whole Trash. Protects against accidental clicks.
Categories: General