Delete WordPress Feedback Spam from JetPack Contact Form

Suddenly, I had over 7,000 WordPress Feedback Spam entries. Feedback is JetPack’s Contact Form. Crazily, Feedback doesn’t have a bulk Empty Spam button like Comments does. I LOVE Comments’ Empty Spam button!

First, log in to phpMyAdmin and take a backup of the database.

Then, click on the SQL tab and run the below Queries. If you’re like me, you’ve changed the wp_ table prefix to something unique, like runningunderwater_posts. Be sure and use your unique table prefix when typing in the Queries.

Type this in to make sure you’re targeting the correct Feedback POSTS tables:

[code]SELECT * FROM wp_posts WHERE post_type=’feedback'[/code]

Then, run this to delete the Feedback tables:

[code]DELETE FROM wp_posts WHERE post_type=’feedback'[/code]

Next, type this in to make sure you’re targeting the correct Feedback POSTMETA tables:

[code]SELECT * FROM wp_postmeta WHERE meta_key LIKE ‘%feedback%'[/code]

Then, run this to delete the Feedback tables:

[code]DELETE FROM wp_postmeta WHERE meta_key LIKE ‘%feedback%'[/code]

Source: How to Delete Feedbacks from JetPack Contact Form – WordPress Den

WARNING: this solution targets ALL Feedback entries, not just spam.

2 Comments

  1. Daniel Parsons on December 13, 2018 at 5:56 pm

    Hello Reid,
    You would think that with WordPress releasing version 5.0.1 today 13 December 2018, that this would be resolved by now. I have to clean out hundreds of spam feedback entries every 2 days or so. Jetpack and WordPress support know about this. Any news of a simple way to stop it without having to go into the database?

    • Reid Walley on December 14, 2018 at 12:04 am

      Going into the database is the only way that I know of to delete very large amounts of spam in JetPack’s “Feedback.”

Leave a Comment