post-page

Mass delete comment bugfix for WordPress 1.2 Mingus

4
responses
by
 
on
September 18th, 2004
in
WordPress Hack

I am sure many of you have already found this bug and have squashed it somehow, but I had not done that. So if you are still one of those people using WordPress 1.2 Mingus and run intro trouble mass deleting comments, this is the quick solution.

Open up your edit-comments.php file which should be in wp-admin in your favorite text editor.

Find this line:
else $mode = $_GET['mode'];

And add this just below that line:
$delete_comments = $_POST['delete_comments'];

Now delete comments en mass with glee!

Sorry for the late response Narada.

heading
4
Responses

 

Comments

  1. Dhruba Bandopadhyay (2 comments.) says:

    Many thanks for this Mark. Before I saw this post I’d blogged about it so I’ll add a note to say that a fix has been published and applied.

  2. Paul (1 comments.) says:

    Hi, thanx for the advice – I’ve just gotten 700+ comments so I found it a bit tiresome to delete 20 comments/turn and moderated this line
    in the same file:

    } else {
    $comments = $wpdb->get_results(“SELECT * FROM $tablecomments ORDER BY comment_date DESC LIMIT 20″);

    So now I delete 100 comments/turn. ;-)



Trackbacks/Pingbacks

  1. [...] te all the spam stuff. And to your surprise delete button doesn’t work, here’s a quick fix. To prevent my dear blog fr [...]

  2. [...] ooded by spam ! Ok got install all available spam plugins, hacks … Fortunately found this hack and was very useful in cleanin [...]

Obviously Powered by WordPress. © 2003-2013

page counter
css.php