Bulk Delete can now move posts to trash instead of deleting

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.

Batch Deletes

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. :)

Screenshot

Below is the screenshot of the updated admin screen of the Plugin.

bulk-delete-wordpress-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.

Download

You can download the latest version of the Plugin from the Plugin’s home page.

Feedback

If you have any comments or if you want to report any bugs, please leave a comment below or contact me.

Stay updated

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.

Related posts

Tags: , ,

8 Comments so far

Trackback URI | Follow up comments through RSS Feed | Post a comment

  • Stehanov Peter says:

    Dear Sudar,

    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!

    Peter

    • Sudar says:

      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.

      • Stehanov Peter says:

        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!

1 Tweetbacks so far

Leave a Reply