It’s been quite some time since I released updates to my WordPress Plugins since I was quite busy recently with lot of stuff (including the android course). Anyways I found some free time today and was able to push some updates to my Bulk Delete WordPress Plugin, which was overdue for quite some time. 🙂
Support for trash
WordPress 2.9 introduced the concept of trash, which allows you to move posts to trash (like Recycle bin in Windows or Trash in Mac) instead of deleting them directly.
I have added support for trash to my Bulk Delete WordPress Plugin. Now you can choose whether you want to delete the posts directly or just move them to trash. The credit for this feature goes to David Wren, you contributed code for this functionality.
I have also enabled another option which will be quite handy when you want to delete tons of posts. The most popular complain I hear from users of my Plugin is that, the PHP script times out if there were more than 1000 posts.
One possible solution is to increase the timeout period in php.ini file. But changing php.ini values is quite difficult especially if you were on a shared host.
I have now added support for batch deletes which allows you to delete the posts in batches. Say suppose you have to delete 5000 posts, you can now delete them in 5 batches with 1000 in each batch instead of trying to delete all the 5000 posts in a single go which usually results in script timeout. Hope this helps most of the users. 🙂
Below is the screenshot of the updated admin screen of the Plugin.
Support for translation
I have also generated the pot file for the Plugin and is available with the Plugin. If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know. I will add it to the Plugin after giving credit to you.
You can download the latest version of the Plugin from the Plugin’s home page.
If you have any comments or if you want to report any bugs, please leave a comment below or contact me.
I would be posting updates about this Plugin in my blog and in Twitter. If you want to be informed when new version of this Plugin is released, then you can either subscribe to this blog’s RSS feed or follow me in Twitter.
- WordPress Developer tools to increase productivity in WordCamp Mumbai
- Email Log WordPress plugin v1.9.1 released
- Email Log WordPress plugin v1.9 released
- How to find if you are on the last page of a multi-page post in WordPress
- Easy Retweet WordPress plugin v3.1 Released
- Creating custom tables with correct Character Set and Collation in WordPress
could you explain that where can I found this Trash? Anyway, how can I delete permanently post/revisions from this Trash?
Keep up your good work and thanks in advance!
You should be able to find trash link in the Manage Posts screen. Also note that Trash is available only from WordPress 2.9 and above.
Hmm, I can’t see that Trash. 🙁
Your plugin maybe successfully delete my post revisions, but I only see All, Published, Draft and Private folders in Posts tab. (I am using WordPress 3.0.1.)
Thanks your help!
That’s strange. Are you using the admin account to check this?
I moved one of my posts to Trash and it has showed there, but after this I use Bulk Delete to move all of my Revisions to Trash and they didn’t appeared next to my trashed post. Bulk Delete doesn’t mention any more Revisions after ‘move to trash’ actions, so what happened with them? 🙁
WordPress doesn’t support moving revisions to Trash. So I guess they got deleted from db.
Ahh, OK. Then I’ll be sure that these revisions totally removed from the DB?