该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Redactor

描述

This plugin is only supported on PHP 5.2 or greater.


Black out certain words that may appear in a post especially when quoting.
Aids you to keep the original content intact but maintain privacy or a family rating.
Also allows the ability to hide explicit content, or spoiler information, such as sports results
and film endings but allow the user to choose if they wish to view it.

Redactor gives you two forms of censorship:

1. Hide and Reveal

By wrapping a phrase in either [censor][/censor] or [spoiler][/spoiler] bbCode tags you will block out the phrase, but give the user the option to reveal the hidden phrase by moving over the phase with the mouse.

2. Automatic Predefined

On the Settings->Redactor admin page you can build a list of phrases you wish to censor. There are three types of possible censorship:

1. Blackout

This will remove the phrase from the post replacing it with black bars representing each word in the phrase.

2. Censor / Spoiler

This will obscure the phrase with either the word Censor or Spoiler but it gives the reader the opportunity to reveal the censored phrase.

3. Swap With

The most subtle form of censorship depending on how you use it. The censored phrase will simply be swapped for your desired replacement.

Redactor will match the phrases to be replaced to whole words and you will not have the problem of an accidental match inside a word, making nonsense of the post.
Also for added safety Redactor will ignore any HTML or BBCode tags in the post, replacing only their inner content and not messing around with their attributes.
To allow for the possibility that you may add phrases that overlap, you can prioritise the phases.

As Redactor filters the content each time the post is requested, It is recommended that you consider installing a page caching plugin.

If you are having trouble and cannot find the answers in the FAQ you can post your support questions to the WordPress Support Forum

If you find Redactor useful please rate it at wordpress.org and please consider making a donation to help us set aside more hours to maintain Redactor

Redactor is written by dcoda

You can check out our other plugins here

If you require a custom plugin you can contact us here and maybe we could write it for you.

Copyright

(c) Copyright DCoda Limited, 2007 -, All Rights Reserved.

This code is released under the GPL license version 2, available here:

http://www.gnu.org/licenses/gpl.txt

There are so many possibly configurations of installation the plugin can be installed on we limit testing to a PHP 5.2+ Linux platform running the latest version of WordPress at the time of release but it is released WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

安装

For installation instructions and help click here.

常见问题

For frequently asked questions and help click here.

评价

此插件暂无评价。

贡献者及开发者

“Redactor” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Redactor”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志