Linux 软件免费装
Banner图

Little Collie Shepherd

开发者 littlecollie
更新时间 2026年11月25日 00:43
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

comments spam akismet moderation harassment

下载

0.2.1

详情介绍:

Little Collie Shepherd moderates comments for creators. This plugin connects a WordPress site to it: each new comment is sent to Shepherd, which recommends whether to approve it, hold it for a person to look at, or mark it spam. Decisions your moderators make in Shepherd come back to the site on their own. The plugin is a thin client. All classification happens in Shepherd; the plugin forwards comments and applies the result. It needs a Shepherd account and a connection token from it. It works alongside Akismet. Pick the order the two run in: Some comments need a closer read. Shepherd holds those for a moment and finishes reading them in the background. In pre-filter and post-filter mode, a held comment Shepherd then finds fine is approved, unless Akismet marked it as spam; in shadow mode it is left for you or your own moderation settings. Akismet stays installed, active and configured in every mode. The plugin finds the priority Akismet's comment check runs at and places itself just before it or just after it, so the order you chose is the order that runs. The settings page says where it found Akismet. It fails open. If Shepherd is slow, unreachable, or not yet configured, the comment goes on to Akismet and WordPress exactly as it would without the plugin. A Shepherd problem never loses a comment. A hidden-field honeypot also runs in every mode and marks obvious bot submissions as spam before anything else is asked.

安装:

  1. Install and activate the plugin from Plugins → Add New Plugin.
  2. In Shepherd, go to Settings → Sources and connect your WordPress site. Shepherd shows a token once; copy it.
  3. In WordPress, go to Settings → Little Collie Shepherd and paste the token into Shared token. Leave Shepherd base URL blank unless you run your own Shepherd.
  4. Start on Shadow mode. Move to pre-filter or post-filter once you have seen how Shepherd's verdicts compare with Akismet's on your comments.
Until a token is saved, the plugin sends nothing anywhere and every comment goes straight to Akismet. wp-admin shows a notice saying so. Moderator decisions are collected by a WP-Cron event every two minutes. WP-Cron only runs when someone visits the site, so on a quiet site a decision can wait for the next visit. To apply them promptly, set DISABLE_WP_CRON in wp-config.php and call wp-cron.php from a real cron job every two minutes.

升级注意事项:

0.2.1 Comments Shepherd holds for a closer read are approved when it finds them fine (pre-filter and post-filter). Sites in shadow mode should update so this does not apply to them. 0.2.0 Shepherd now runs in the right order relative to Akismet wherever Akismet registers. No settings change needed.

常见问题:

Does this replace Akismet?

No. Akismet keeps running in every mode. In pre-filter mode Akismet is not asked about a comment Shepherd has already confidently decided; every other comment still goes to it. In post-filter mode Akismet sees every comment first.

Which mode should I use on a managed host?

Post-filter. Some hosts install and configure Akismet themselves, and post-filter never changes whether Akismet runs. If the settings page warns that it cannot find Akismet's comment check, use post-filter.

What happens if Shepherd is down?

The comment is handled exactly as if the plugin were not installed. Nothing is dropped or held because Shepherd could not be reached.

Does Shepherd need to reach my site?

No. Every call is outbound from your site to Shepherd over HTTPS. Your site needs no open port and no firewall change, only permission to make outbound requests.

What does uninstalling remove?

Deleting the plugin removes its settings, including the stored token, and its scheduled tasks. It keeps the Shepherd verdicts it recorded on your comments, since those are your moderation history. Tick Uninstalling on the settings page first if you want them removed too.

更新日志:

0.2.1 0.2.0 0.1.1