Borrar todos los comentario wordpress desde linea de commandos ssh

acceder por ssh

ejecutar mysql

show databases;

use nombre_de_la_base_de_datos;

DELETE FROM wp_comments WHERE comment_approved = 0

(borra todos los comments no approbados)
Advertisements

c

 

If you get the following error when you try to access your wordpress site from chrome

NET::ERR_CERT_AUTHORITY_INVALID (privacy error)

It’s because there is a bug in woocommerce plugin (suddenly you start to be redirected to https). The fix is easy. Just update woocommerce plugin or install this plugin.

https://wordpress.org/plugins/chrome-https-bug-fix-for-woocommerce/

You’re welcome

 

2015-07-25 13_39_30-Error de privacidad