[WordPress] 外掛分享: Spam Word Blocker

首頁 › 外掛目錄 › Spam Word Blocker
WordPress 外掛 Spam Word Blocker 的封面圖片
80+
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 5.0+ PHP 7.0+ v2.0.0 上架:2025-11-20

內容簡介

總結:Spam Word Blocker是一個輕量級、符合WordPress政策的外掛程式,可防止管理員定義的不良字詞出現在任何文章、頁面或自訂文章類型中而導致發佈。

1. 這個外掛程式的特色有哪些?
- 即時彈出警示 - 顯示確切找到的被封鎖字詞
- 適用於所有文章類型 - 自動包含文章、頁面和自訂文章類型
- 輕量級 - 只在發布事件期間運行,無背景負載
- 伺服器端執行 - 無法被繞過
- 美觀的管理介面 - 乾淨的白色和綠色高級設計
- 符合WordPress政策 - 正確的逃逸、消毒和nonce
- 大小寫不敏感匹配 - 智能的字邊界偵測

2. 它是如何運作的?
- 管理員在外掛程式設置中添加被封鎖的字詞/片語(每行一個)
- 當用戶點擊發佈時,外掛程式掃描標題、內容和摘要
- 如果找到被封鎖的字詞:
- 即時彈出窗口顯示被封鎖的字詞
- 文章被自動保存為草稿
- 在重新加載頁面後,管理員提示會顯示
- 用戶移除被封鎖的字詞後重新發佈成功

3. 這個外掛程式非常適合哪些用途?
- 內容管理
- 預防意外垃圾郵件內容
- 多作者網站
- 客座文章管理
- 成人內容過濾
- 品牌保護

4. 開發者是誰?
- 由Harshit Kumar開發 - https://kumarharshit.in

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Spam Word Blocker」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Spam Word Blocker is a lightweight, WordPress policy-compliant plugin that prevents publishing or scheduling of any post, page, or custom post type if the content contains unwanted words defined by the admin.
Key Features

Instant Popup Alert (Pure Vanilla JS) – Shows exactly which blocked words were found with zero jQuery dependency.
Publish & Schedule Protection – Blocks both immediate publishing and scheduled (future) posts, plus optional Pending Review blocking.
Gutenberg & Classic Editor Ready – Scans Title, Content, Excerpt, and optional URL Slug accurately in modern iframe block editors.
Post Type & Role Controls – Choose which public post types to protect and optionally allow trusted roles to bypass.
Instant Blocklist Tester – Test sample sentences right from the settings page.
1-Click Export / Import (.txt) – Easily move your blocklist across websites.
Recent Blocked Attempts Log – Track the last 20 blocked publish attempts with user, post title, and matched words.
Server-Side Enforcement – Cannot be bypassed and scales cleanly to large blocklists.

Perfect For

Multi-author blogs and newsrooms
Guest post moderation
Preventing accidental spam or restricted keywords
Brand and AdSense policy protection

文章
Filter
Mastodon