Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Ran across something a bit odd that I haven't seen before. A client has a pretty active blog and uses Akismet (paid) to protect against spam. At least once a day, they're reporting a spam comment that is correctly marked as spam, but cannot be removed from the admin dashboard by clicking Empty Spam or manually selecting the entry and trying to delete it.

I looked into this and noticed that the DB entry has a comment_post_ID of 0, which I'd have to assume means it is not attached to any post. I can obviously remove them manual from the DB (and it works just fine), but haven't found any information on what this could be.

I've replaced the core WP files (thinking it might be a security issue) and also re-generated the salts/keys in the wp-config.php file without any change.

Any thoughts would be a huge help. thanks!

Update

While this may have stemmed from, I'm not sure if it is the result of the InMotion hack.

Here's what's been done:

  • Changed FTP, MySQL passwords
  • Created new DB user, assigned to database
  • Updated salts/keys in wp-config.php
  • Changed all WP user passwords
  • Re-installed core WordPress files

Akismet is out of ideas on this one (don't blame them) as this one is persistent.

share|improve this question
If a comment is posted without a post ID the ID is set to '0'. Look in /wp-comments-post.php. The next few lines should kill the script though, unless you have a post with ID '0'. And that is puzzling, which is why this is a comment and not an attempt at an answer. – s_ha_dum Nov 7 '12 at 17:37
Yeah - this one's a head-scratcher for sure – Zach Nov 7 '12 at 19:53
Is there any other pertinent information recorded in the wp_posts record? A consistent author, email, or agent? Might be helpful clues. – Stephen Nov 21 '12 at 19:24
Sorry mean the wp_comments record, not wp_posts. Didn't catch it in time to edit the comment. – Stephen Nov 21 '12 at 19:30
Nope - authors, IPs agents, etc. all different from the four I'm seeing. Unless I want cheap timberlands or home-made bags, I'm still stumped ;) – Zach Nov 21 '12 at 20:34
show 5 more comments

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.