跳到内容

Delete Spam Daily

v1.0.2

brockangelo · 2009年5月25日 上架

Uses wp_cron to delete comments each day that are marked "spam" in the database.

正在使用
70+
评分
5.0 / 5
累计下载
9,884
最近更新
2009年5月29日
1 条评价需要 WordPress 2.1.0+已测试到 2.7.1

贡献者

截图

Pretty simple.
Pretty simple.

This plugin schedules a daily event using wp_cron that deletes all comments marked “spam” in the database, then optimizes the comments table.

Brief reason why I made such a low-tech plugin:

Akismet catches all the spam, but when I was looking at the size of my backups one day,
I noticed that there were large numbers of comment spam across several sites that were undeleted and they
made the databases fairly large. So I setup a cron job on my server that deletes the spam.

Since I had never written a plugin, I thought this might be helpful for those who do not have
a dedicated server, shell access to their site, or the knowledge of (or interest in ) cron to set this up.

Spam is not deleted until you start the schedule after the plugin is activated. I created buttons
to start and stop the schedule if you need that layer of control. There is also a button for deleting all spam manually.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums