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.
- Creating new pages in WordPress through code
- Developing WordPress Plugins in Github
- Completely rewrote WP-IRC Plugin
- WordPress Plugin to add Foss.in badge
- Posts By Tag Plugin now supports excluding current post
- Started tracking time spend on my pet projects
- Bulk Delete Plugin now supports deleting by permalink
- Adopted Cron debug log WordPress Plugin
- Phishing attempts to get your wordpress.org password
- Generating dynamic files for download from PHP