Scriptbloggers

Blogging about scripts

Possibility of a bug in WordPress 2.6

Well,

For a long time I was wondering why I’m not getting comments on my new posts on Scriptbloggers while I could see people submitting comments, by looking at my stats and today I found a terrible bug which I’m going to report, hopefully it will be fixed, but I apologize if I’ve deleted your comments due to this stupid bug!

Here is the situation:

How do you deal with pages of comments? It’s relatively easy, you just log in to your admin panel, go to the comments section and click on “Awaiting Moderation” tab, then it shows all the comments waiting for your approval with pagination and each page contains 20 (I repeat; 20) comments. In my case they were mostly spam, so what I used to do was to review the page to make sure all of them are spam and click on the check-box beside the word “comment” which will check-mark all the individual check-boxes for the comments in that page and I click on “Delete” because marking them as spam is waste of MySQL resources.

Here is an image showing what I used to do in sequence:

As you see there were 1,457comments and I check-marked 20 of them and clicked on Delete, now take a look at the next screenshot:

How many comments? 1,432! That means 25 comments were removed while 5 of them were in the next page which I haven’t got the chance to review them! So this way you’re actually deleting 20% of the comments without reviewing.

I tried checking all the boxes on a page manually and it worked as expected, causing exactly 20 comments to be removed.

Just wanted to give you guys a heads-up so that you won’t miss valuable comments.

Now I’m going to report the bug in wordpress.org and hopefully it will be fixed soon :)

5 comments

5 Comments so far

  1. soroush August 12th, 2008 8:11 pm

    UPDATE: I have no idea what’s going on but when I submit a ticket in http://trac.wordpress.org I get the ticket number but then it just vanishes and I can’t even find the ticket by it’s ticket number!

    If anybody knows how to submit a ticket properly please let me know!

  2. soroush August 12th, 2008 8:20 pm

    Well, using back button I realized my report was changed and actually closed because it was “duplicated” but still I can’t find it under “my tickets” tab.
    Anyway here is the link to the ticket reported two weeks ago, containing a patch:
    http://trac.wordpress.org/ticket/7433

  3. social issues October 1st, 2008 7:18 am

    Scanning down the page for spam comments? Stop here! This is not one of them.

    But I do want to say that I miss the old WordPress versions. Every time there is an upgrade I cringe.

  4. terlan October 10th, 2008 9:35 am

    Not checked the bug myself as I dont get the volume of traffic yet that generates that amount of spam comments on my WP 2.6 site.

    but rather than a bug, could it be something a bit more clever, and the extra 5 it deletes are copies of comments your deleting or from the same IP, getting flagged as spam and deleted when their copies are. Or is that just hoping too much….

  5. soroush October 14th, 2008 10:08 pm

    Actually it was a bug and there was a patch to fix it.

    Honestly, I also missed the old versions of WordPress. I’m even thinking of writing my own super simple blogging script including essential features only. I’ve started planning for it and will let everyone knows when its done.

Leave a reply