Last active
August 29, 2015 13:56
-
-
Save rdlmda/9040635 to your computer and use it in GitHub Desktop.
WP SQL Queries - A few SQL queries for manipulating posts, pages, users and comments directly
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
| A few SQL queries for manipulating posts, pages, users and comments directly |
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
| DELETE from wp_comments WHERE comment_approved = '0'; |
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_comments SET comment_approved = '0'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment