KOZ URL-Only Comment Spam

外掛說明

KOZ URL-Only Comment Spam is a focused moderation tool for a common low-effort spam pattern: comments containing only one or more links. It can send matching comments directly to spam or hold them for manual moderation while ordinary comments continue through the normal WordPress workflow.

The detector removes HTML and invisible spacing characters before checking the visible content. It can exempt logged-in users, trust same-site links and approved domains, and lets an administrator test a sample without saving that sample.

Privacy remains deliberately limited. The plugin stores no comment text, detected URL, IP address, email, referrer, cookie, fingerprint or user-agent value. It stores only aggregate counts and a small summary of the latest match.

Use case: a public website receives repeated comments made entirely of promotional URLs. The plugin removes that noise before it reaches the normal review queue, without sending comment data to an external service.

Use case: a community site permits internal resource links but wants external URL-only comments reviewed. Trusted-domain settings allow internal destinations while suspicious external links are handled automatically.

The plugin was originally developed for the UA FREE charitable foundation website, which remains a production test environment. Development and ownership belong to Tony Kozyriev (ramirkz). Foundation donations and developer support are separate.

Part of the KOZ Suite

KOZ URL-Only Comment Spam is one focused module of the broader KOZ Suite, a family of independent WordPress plugins that share a common KOZ administration experience and visual identity.

Each KOZ plugin remains independently installable, so site owners can use only the modules they need or combine several modules into one toolkit.

Current public KOZ plugins:

  • KOZ SEO Core — technical SEO, schema, sitemaps, AI discovery and OpenAI Vision image ALT.
  • KOZ Copy Actions — accessible copy-to-clipboard actions for selected WordPress content.
  • KOZ URL-Only Comment Spam — privacy-first local moderation for URL-only comment spam.
  • KOZ Static Translate — AI-powered multilingual translation with Microsoft Azure AI Translator and static language routes.
  • KOZ Translate Diagnostics — read-only health checks and privacy-safe diagnostic reports for KOZ Static Translate.
  • KOZ 404 Guard & URL Intelligence — privacy-safe 404/410 diagnostics, controlled same-site redirects and URL intelligence.
  • KOZ Consent Manager — privacy-first visitor consent, optional script control and Google Consent Mode v2 synchronization.
  • KOZ Donate Stats & Conversions — local donation-journey analytics and consent-aware conversion events for WordPress.

安裝方式

  1. Deactivate the legacy UA FREE URL-Only Comment Spam plugin if it is installed.
  2. Upload the KOZ ZIP through Plugins > Add New > Upload Plugin.
  3. Activate the plugin.
  4. Open KOZ Suite > URL Comment Spam and review the settings.

Existing UA FREE settings and aggregate counters are preserved automatically.

常見問題集

Does the plugin send comment content to an external service?

No. Detection runs locally in WordPress. The plugin does not send comment text, URLs, IP addresses, email addresses, referrers or user-agent values to an external service.

Will ordinary comments be marked as spam?

The detector targets comments whose visible content consists only of one or more URLs after HTML and invisible spacing are removed. Comments containing ordinary readable text continue through the normal WordPress workflow.

Can I allow internal or trusted links?

Yes. You can trust same-site links and add approved domains in the plugin settings.

Can I test the detector without saving a comment?

Yes. The administration screen includes a sample test that does not persist the sample text.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈KOZ URL-Only Comment Spam〉的開發相關工作。

參與者

將〈KOZ URL-Only Comment Spam〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.1.11

  • Updated KOZ Suite documentation to include all eight current public plugins.
  • Updated WordPress compatibility metadata for WordPress 7.1.
  • No changes to spam detection, moderation settings, counters or privacy behavior.

1.1.10

  • Publish the current production-tested package as the first public SVN release after WordPress.org approval.
  • Keep moderation rules, stored settings, aggregate counters and privacy behavior unchanged.
  • Refresh public release metadata for WordPress.org.

1.1.9

  • Fixed WordPress.org Stable tag metadata to match the plugin version.
  • No changes to spam detection, settings, counters or support-panel behavior.

1.1.8

  • Prevent duplicate support blocks when the shared KOZ Suite panel is active.
  • Add the About the foundation button to standalone support fallback.

1.1.7

  • Fixed duplicate KOZ support panel rendering in WordPress admin by ensuring a single panel initialization.
  • No changes to spam detection, stored settings, counters or compatibility behavior.

1.1.6

  • Standardized plugin-owned identifiers under the kozurlspam / KOZURLSPAM prefix and ramirkz\kozurlspam namespace.
  • Replaced shared support/runtime identifiers with plugin-specific equivalents.
  • Migrates existing UA FREE settings into the canonical KOZ option names without exposing copied comment content.

1.1.5

  • Unified the namespace, global constants and KOZ hooks under the exact KOZURLOnlyCommentSpam prefix.
  • Preserved existing settings and UA FREE compatibility hooks.

1.1.2

  • Aligned KOZ hook names with the plugin namespace prefix used by Plugin Check.
  • Removed the global uninstall variable while preserving conditional data deletion.

1.1.0

  • Rebranded the plugin under the independent KOZ suite.
  • Added the KOZ Suite menu and shared support panel.
  • Added administration localization for ten languages plus English fallback.
  • Preserved legacy settings, counters, filters and event hooks.
  • Added KOZ-prefixed filters and event hooks.
  • Removed bundled PO and MO files for WordPress.org compatibility.