Skip to content

Instantly share code, notes, and snippets.

@germanny
Forked from ericrasch/WP Disable Comments.md
Created March 7, 2014 15:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save germanny/9414167 to your computer and use it in GitHub Desktop.
Save germanny/9414167 to your computer and use it in GitHub Desktop.

To shut off all comments/trackbacks/pingbacks in the WordPress Admin, the steps for cleanup are:

All this might seem like overkill, but comments et. al. can be a backdoor to spam and malware. I'd rather take 30 minutes to shut this down on our sites where we don't use these features than have to restore from a hack/attack.

Now, do we want to leave [archive] WP/Facebook comments on sites where we've had active discussions? I think there's benefit from users seeing activity on sites if there was some in the past. If you're keeping them, be sure not to remove the appropriate comment code from the Theme that actually displays the comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment