這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Filtration

外掛說明

Filtration allows you to filter out any keywords you wish, and replace them with any specified text. This allows you to remove profanity, or any other content automatically from titles, content and comments. This replacement text can be applied to each character in a filtered word, or to the filtered word as a whole.

You can choose which WordPress elements to filter, including:

  • Post/Page Titles
  • Post/Page Content
  • Comments

When chosing Filtration keywords, they can be strict or non-strict keywords. Non-strict keywords are removed ONLY when they stand alone in the content, with boundry characters on either site. Strict keywords are removed anywhere in the string.

i.e. If ‘cake’ is specified as a non-strict keyword, it will be filtered in the string ‘the cake was great’, but it will be left alone in the string ‘pancakes are fantastic’. On the other hand, if ‘cake’ is strict, it will be filtered in both cases above and replaced with the filter character.

Keywords are replaced with the Filter Character (specified in Filtration Options).

安裝方式

This section describes how to install Filtration.

  1. Download and extract the Plugin zip file.
  2. Copy the Filration folder to your Plugin folder (wp-content/plugins/)
  3. Activate the plugin via the ‘Plugins’ menu.
  4. After activation, visit the settings page by clicking Filtration under the Settings menu.
  5. Enter your keywords, selected the type of content to filter, and add a filter character.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Filtration〉的開發相關工作。

參與者

將〈Filtration〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.2.1

  • Slight bug fixes and code tweaks.

1.2

  • Added the ability to have the replacement character replace all characters in a filtered word, or the entire word.

1.1

  • Reorganized code to prevent bad interactions with user code.
  • Input now sanitized.
  • Text validation now checks input to see if it matches required format.
  • A few speed improvements and bug fixes.

1.0

  • Added filtration of comments, titles and content.