博客更新项目二:批量删除未经允许的留言

The blog 过.似飘若舞 and the article 博客更新项目二:批量删除未经允许的留言 are not responsible for any privacies and other illegal things.

今日考试,话不多说。

大概三到四个月没有更新博客,然后发现博客上一坨垃圾留言——全部都是未经允许的。大概也就两万+而已……

 

恩,批量删除要到PHPMyAdmin中(不知道何物的自行百度/Google),找到你的Wordpress数据库,然后输入:

DELETE from wp_comments WHERE comment_approved = ’0′;

解决,收工。

If Copy, Please Don't Delete These:

This Article is Originated From 过.似飘若舞

The Address Is: http://www.yanzizhu.org/2010/12/update2-delete/

3
  1.   #1

    垃圾留言我现在站点基本看不见了,曾经有一段时间很多,不知咋回事。。

    • 真是幸福的娃。。。

  2.   #2

    cool