Modifies the Empty Spam action in WordPress to process the spam deletion in batches instead of all at once.
| Author: | Pippin Williamson (profile at wordpress.org) |
| WordPress version required: | 3.6 |
| WordPress version tested: | 4.9 |
| Plugin version: | 1.0.6 |
| Added to WordPress repository: | 02-06-2014 |
| Last updated: | 27-10-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 100 |
| Rated by: | 10 |
| Plugin URI: | |
| Total downloads: | 28 964 |
| Active installs: | 1 000+ |

Click to start download
|
FAQ
Installation Instructions
- Activate the plugin
- Go to Comments > Spam
- Use the “Empty Spam” button to clear out all spam comments
Can I change the number of comments deleted per batch?
Yes, there are two ways to do it.
-
You can modify the number via a filter, like this:
<?php
function pw_bcsd_per_batch( $per_batch ) {
$per_batch = 50;
return $per_batch;
}
add_filter( ‘pw_bcpd_comments_per_batch’, ‘pw_bcsd_per_batch’ );
-
You can modify it by adding a constant to your wp-config.php file:
define( ‘PW_BCPD_PER_BATCH’, 50 );
ChangeLog
1.0.6
- Fix: Delete Spam button displaying improperly
- Tested with WordPress 4.8 and later
1.0.5
1.0.4
- Fix: Fatal error during batch processing
1.0.3
- New: added the ability to change the per-batch number via the PW_BCPD_PER_BATCH constant
1.0.2
- Fix: Undefined index error
1.0.1
- Fix: The Empty Trash button was accidentally removed from the Trash page
1.0