Created
June 18, 2015 10:20
-
-
Save jennimckinnon/f1cf8498d10392540b1a to your computer and use it in GitHub Desktop.
Delete all stray and junk comments in WordPress Multisite.
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
SELECT * FROM wp_#_commentmeta WHERE comment_id | |
NOT IN ( | |
SELECT comment_id | |
FROM wp_#_comments | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment