Skip to content

Instantly share code, notes, and snippets.

@begedin
Created April 21, 2013 17:27
Show Gist options
  • Save begedin/5430350 to your computer and use it in GitHub Desktop.
Save begedin/5430350 to your computer and use it in GitHub Desktop.
How to disable Pingback and Trackback Spam on Wordpress - SAFER METHOD
UPDATE wp_posts SET ping_status='closed'
WHERE post_status = 'publish'
AND post_type = 'post';
UPDATE wp_posts SET ping_status='closed'
WHERE post_status = 'publish'
AND post_type = 'page';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment