Created
August 12, 2014 11:26
-
-
Save chris-jamieson/e10676442c9a0aae09ec to your computer and use it in GitHub Desktop.
Disable pingbacks for Wordpress (SQL query)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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