Created
March 2, 2016 01:11
-
-
Save fgilio/e8d8d503521630e6922f to your computer and use it in GitHub Desktop.
WordPress bulk disable comments
This file contains hidden or 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 comment_status = 'closed', ping_status = 'closed'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment