• I received numerous spam comment posts to the Hello World post that is automatically set up when you first create a WordPress site. I proceeded to delete the Hello World post without first deleting all of the spam messages. Now I cannot seem to find a way to remove the Pending comments. I used a plugin that is supposed to delete all posts, but that did not delete the pending comments. Do I have to edit the database and remove these pending comments? Any help is greatly appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Are you comfortable operating at the database level? As it sounds like that might be your simplest solution if you are. ( always make a database backup first )

    Thread Starter jyonan

    (@jyonan)

    Hi Alan,
    I am comfortable editing the database. I have looked around the tables, but cannot seem to locate where these entries are located.

    I hope you can help me… Thanks!

    The table will be wp_comments ( or some other prefix_comments )

    Thread Starter jyonan

    (@jyonan)

    I found the solution (or at least a workaround). I created a new Post and added a comment to it. It somehow reset the Comment counter to 1 pending. I deleted the newly created pending comment as usual from the Comments table and then deleted the Post. No more Comments are showing.

    I would consider this a bug. I hope someone addresses this scenario.

    Thanks!

    • This reply was modified 3 years, 8 months ago by jyonan.
    • This reply was modified 3 years, 8 months ago by jyonan.
    Thread Starter jyonan

    (@jyonan)

    The wp_comments table was empty. That was my first thought as well.

    If you believe it is a bug you can create a bug ticket, search first to see if it has already been listed

    https://make.www.ads-software.com/core/handbook/tutorials/trac/opening-a-ticket/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t Delete Pending Comments After Underlying Post Deleted’ is closed to new replies.