9/18/2004 ↓

Mass delete comment bugfix for WordPress 1.2 Mingus

Author: Mark Ghosh Category: WordPress Hack

Thanks for visiting! If you're new here, you may want to subscribe to our RSS feed. This blog posts regular Wordpress news, updates of themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about Wordpress. Go ahead, subscribe to our feed! You can also receive updates from this blog via email.

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.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 3 out of 5)
Loading ... Loading ...

Friends

Translate

Translate to German Translate to Spanish Translate to French Translate to Italian Translate to Portuguese Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese

Latest Videos

4 Comments | Leave a comment | Comments RSS

  1. 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.

    [Reply] Dhruba Bandopadhyay (2 comments.) — 09/18/2004 @ 12:07 pm
  2. [...] 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 [...]

    Ammar Ibrahim's Blog » Fixing Mass Edit Bug in wordpress! — 10/20/2004 @ 7:03 pm
  3. [...] ooded by spam ! Ok got install all available spam plugins, hacks … Fortunately found this hack and was very useful in cleanin [...]

    Jai Bharat Patel's Blog » Mass delete comment bugfix for WordPress 1.2 Mingus — 10/31/2004 @ 11:38 pm
  4. 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. ;-)

    [Reply] Paul (1 comments.) — 01/2/2005 @ 5:35 pm

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required, will not be published)


S2