Skip to content

Instantly share code, notes, and snippets.

@chris-jamieson
Created August 12, 2014 11:26
Show Gist options
  • Save chris-jamieson/e10676442c9a0aae09ec to your computer and use it in GitHub Desktop.
Save chris-jamieson/e10676442c9a0aae09ec to your computer and use it in GitHub Desktop.
Disable pingbacks for Wordpress (SQL query)
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