Title: Batch Comment Spam Deletion
Author: Syed Balkhi
Published: <strong>2 juni 2014</strong>
Last modified: 27 oktober 2017

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/batch-comment-spam-deletion.svg)

# Batch Comment Spam Deletion

 Av [Syed Balkhi](https://profiles.wordpress.org/smub/)

[Ladda ner](https://downloads.wordpress.org/plugin/batch-comment-spam-deletion.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/batch-comment-spam-deletion/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/batch-comment-spam-deletion/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/batch-comment-spam-deletion/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/batch-comment-spam-deletion/#developers)

 [Support](https://wordpress.org/support/plugin/batch-comment-spam-deletion/)

## Beskrivning

Modifies the Empty Spam action in WordPress to process the spam deletion in batches,
allowing you to delete thousands or even hundreds of thousands of spam comments 
at once without killing your server.

Have you found a bug or have a suggestion or improvement you’d like to submit? This
plugin is available on [Github](https://github.com/pippinsplugins/batch-comment-spam-deletion)
and pull requests are welcome!

## Installation

 1. Activate the plugin
 2. Go to Comments > Spam
 3. Use the ”Empty Spam” button to clear out all spam comments

## Vanliga frågor

  Installation Instructions

 1. Activate the plugin
 2. Go to Comments > Spam
 3. 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.

 1. You can modify the number via a filter, like this:
 2. <?php
     function pw_bcsd_per_batch( $per_batch ) {
 3.     ```
        $per_batch = 50;
    
        return $per_batch;
        ```
    
 4. }
     add_filter( ’pw_bcpd_comments_per_batch’, ’pw_bcsd_per_batch’ );
 5. You can modify it by adding a constant to your `wp-config.php` file:
 6. define( ’PW_BCPD_PER_BATCH’, 50 );

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Batch Comment Spam Deletion” är programvara med öppen källkod. Följande personer
har bidragit till detta tillägg.

Bidragande personer

 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)
 *   [ Pippin Williamson ](https://profiles.wordpress.org/mordauk/)

[Översätt ”Batch Comment Spam Deletion” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/batch-comment-spam-deletion)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/batch-comment-spam-deletion/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/batch-comment-spam-deletion/)
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/batch-comment-spam-deletion/)
via [RSS](https://plugins.trac.wordpress.org/log/batch-comment-spam-deletion/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.0.6

 * Fix: Delete Spam button displaying improperly
 * Tested with WordPress 4.8 and later

#### 1.0.5

 * Fix: missing closing tag

#### 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

 * First release!

## Meta

 *  Version **1.0.6**
 *  Senast uppdaterat **9 år sedan**
 *  Aktiva installationer **1 000+**
 *  WordPress-version ** 3.6 eller senare **
 *  Testat upp till **4.9.35**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/batch-comment-spam-deletion/)
 * Etiketter
 * [comment](https://sv.wordpress.org/plugins/tags/comment/)[comments](https://sv.wordpress.org/plugins/tags/comments/)
   [spam](https://sv.wordpress.org/plugins/tags/spam/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/batch-comment-spam-deletion/advanced/)

## Betyg

 5 av 5 stjärnor.

 *  [  10 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/batch-comment-spam-deletion/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/batch-comment-spam-deletion/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/batch-comment-spam-deletion/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/batch-comment-spam-deletion/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/batch-comment-spam-deletion/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/batch-comment-spam-deletion/reviews/#new-post)

[Visa alla recensioner](https://wordpress.org/support/plugin/batch-comment-spam-deletion/reviews/)

## Bidragande personer

 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)
 *   [ Pippin Williamson ](https://profiles.wordpress.org/mordauk/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/batch-comment-spam-deletion/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](http://pippinsplugins.com/support-the-site)