Linux 软件免费装
Banner图

AOS Comment Spam Cleanup

开发者 aosdigital
更新时间 2026年5月28日 02:07
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

comments spam comment spam spam filter moderation

下载

1.4.0 1.5.0

详情介绍:

AOS Comment Spam Cleanup helps you remove comment spam in bulk using URL pattern matching, and prevents future bot submissions with a honeypot and quality scoring. Whether you have hundreds of shortlink spam comments or want ongoing protection, this plugin has you covered. It works alongside Akismet and other spam filters, not instead of them. ✨ What you can do 🔍 Pattern Scanner Type a URL fragment (e.g. shorturl.fm) into the scanner, click Check Count to see exactly how many comments match, then choose your action: mark as spam, move to trash, or delete permanently. ⏱ Scheduled Auto-Cleanup Set a WP-Cron job to run hourly, twice daily, daily, or weekly. Configure your patterns and action once — the plugin keeps your comment section clean automatically. 🤖 Honeypot Bot Protection An invisible form field is added to your comment form. Real visitors never see or fill it. Bots that automatically fill every form field get rejected with a 403 error — silently, without affecting real users who never see or fill the field. 📊 Comment Quality Scoring Every new comment is automatically scored based on: 🚫 Gravatar Privacy (GDPR-friendly) Optionally block all external requests to gravatar.com. When enabled, avatar images are suppressed completely, preventing third-party data transfers without visitor consent — helpful for GDPR / DSGVO compliance. 💬 Disable Comments Globally Close comments and trackbacks / pingbacks on all posts, pages, and custom post types in one click. Existing comments are not deleted — only new submissions are blocked. Disabling the toggle restores original comment status immediately without any database changes. 🛡 WordPress Blocklist Integration Add URL patterns directly to WordPress's native disallowed_keys list — new comments containing those patterns are caught before they even reach the scanner. 📋 Spam Domain Analysis Automatically scans your existing spam and trash comments to surface the most common offending domains, so you always know what to block next. 🎯 Who is this for? ❓ Why not just use Akismet? Akismet is great for real-time filtering — but it doesn't help you clean up existing spam, and it doesn't support pattern-based bulk actions. AOS Comment Spam Cleanup fills that gap. Use both. 🔒 Privacy This plugin does not collect, transmit or store any personal data on external servers. All processing happens on your own server. No external API calls are made during normal operation. 🌍 Translations Ships with English and German (de_DE). Help translate at translate.wordpress.org. 👨‍💻 Developer Made by AOS Digital — WordPress development from Germany.

安装:

  1. Upload the aos-comment-spam-cleanup folder to /wp-content/plugins/
  2. Activate the plugin in Plugins → Installed Plugins
  3. Go to Comments → Comment Cleanup
Quick start to delete shorturl.fm spam:
  1. Open the Scanner tab
  2. The pattern shorturl.fm is pre-filled — click Check Count
  3. Once you see the count, click Execute Action (default action: Mark as Spam)
  4. Done!

屏幕截图:

  • Spam analysis — automatically surfaced top spam domains from your trash and spam folder
  • WordPress Blocklist overview — manage your disallowed keys directly from the plugin
  • Automation tab — configure recurring scheduled cleanup with WP-Cron
  • Protection tab — enable the honeypot field and comment quality scoring

升级注意事项:

1.5.0 New privacy features: block Gravatar external requests and disable comments globally. The automation and protection settings are now saved independently — please re-save both tabs once after upgrading. 1.4.0 Plugin renamed to AOS Comment Spam Cleanup (slug: aos-comment-spam-cleanup). All internal option keys updated. After upgrading, existing settings will not migrate automatically — please re-save your settings once. 1.3.0 Security hardening: nonce verification, output escaping, and input sanitization improved throughout. Plugin renamed to AOS Comment Spam Cleanup; text domain updated to comment-spam-cleanup. Recommended upgrade for all users. 1.2.0 Fixes a PHP 7.4 compatibility bug in the quality scorer (str_contains → strpos). All strings are now English-first with full translation support. Recommended upgrade for all users.

常见问题:

Is it safe to delete comments permanently?

Permanently deleted comments cannot be recovered. We strongly recommend using Mark as Spam or Move to Trash first, reviewing the results, and only choosing "Delete Permanently" when you are certain.

Will this slow down my site?

No. The plugin only loads on your admin page and during comment submission (honeypot + quality check). There is zero frontend performance impact for visitors.

Does the honeypot work with page caching?

Yes. A tiny inline JavaScript snippet empties the honeypot field for real users on page load, so cached pages work correctly. Bots that do not execute JavaScript still fill the field and get caught.

What is Regex Mode?

Regex Mode uses MySQL REGEXP instead of LIKE for pattern matching, allowing complex patterns like shorturl\.[a-z]+ to match any shorturl.* domain. Standard mode (LIKE) is recommended for simple domain matching. Patterns are validated before execution.

Does it conflict with other comment plugins?

AOS Comment Spam Cleanup uses only standard WordPress hooks (pre_comment_approved, preprocess_comment, comment_form_after_fields) and does not override or replace other plugins' functionality. It has been tested alongside Akismet and Antispam Bee.

Does the quality scorer affect legitimate comments?

The default threshold of 5 is conservative. A normal comment with one link scores 2 points — safely below the threshold. Test with "Hold for moderation" (not "Mark as Spam") first to see which comments get flagged before applying stricter settings.

How do I reset all settings?

Use WP-CLI: wp option delete aosc_settings Or go to Tools → Site Health → Info → WordPress and look for the aosc_settings option.

Does it work on Multisite?

Yes, on individual sites. Network-wide management across all sites in a network is planned for a future version.

Can I use this to block future spam as well?

Yes — add patterns to the WordPress Blocklist (via the scanner or the blocklist card). Any future comment containing that pattern will automatically be marked as spam by WordPress before any other check runs.

更新日志:

1.5.0 1.4.0 1.3.1 1.3.0 1.2.0 1.1.0 1.0.0