Last active
August 29, 2015 14:11
-
-
Save evemilano/60e326e8285536c3e248 to your computer and use it in GitHub Desktop.
Cancellare tutti i commenti di WordPress con phpMyAdmin
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
# Esegui questo comando se vuoi cancellare tutti i commenti in attesa di moderazione (pending). Per lanciare il comando per prima cosa seleziona il tuo database, poi naviga nella tab SQL, inserisci la query e premi Esegui. | |
DELETE from wp_comments WHERE comment_approved = '0' | |
# Esegui questo comando se vuoi cancellare tutti i commenti precedentemente approvati. | |
DELETE from wp_comments WHERE comment_approved = '1' | |
# Esegui questo comando se vuoi cancellare tutti i commenti marcati come SPAM. | |
DELETE from wp_comments WHERE comment_approved = 'spam' | |
# Esegui questo comando se vuoi cancellare tutti i commenti nel cestino. | |
DELETE from wp_comments WHERE comment_approved = 'trash' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.evemilano.com/2014/11/cancellare-commenti-wordpress-phpmyadmin/