Skip to content

Instantly share code, notes, and snippets.

@16am
Created October 30, 2013 08:56
Show Gist options
  • Save 16am/7229266 to your computer and use it in GitHub Desktop.
Save 16am/7229266 to your computer and use it in GitHub Desktop.
Disable all WP comments MySQL query
UPDATE wp_posts SET comment_status='closed' WHERE post_date<'2011-05-01 00:00:00'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment