Skip to content

Instantly share code, notes, and snippets.

@ericrasch
Last active February 13, 2018 17:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save ericrasch/8650735 to your computer and use it in GitHub Desktop.
Save ericrasch/8650735 to your computer and use it in GitHub Desktop.
If you need to completely shut off all comments/trackbacks/pingbacks in the WordPress Admin

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