CommentSafe is a really simple plugin that I’ve written for WordPress.
CommentSafe是我为WordPress编写的一个非常简单的插件。
Very simply, it takes a list
很简单,它需要一个列表
of (X)HTML tags – which you can specify through the admin interface – and does one of three things
(X)HTML标记中的一个(您可以通过管理界面指定),并执行以下三种操作之一
with those tags, when they’re found in your comments:
带有这些标签的标签,当您在评论中找到它们时 p>
- Strip tags (example:
A bold choice
becomes A bold choice
– default) - 条形标签(例如:
A 粗体 b>选择 code>变为粗体选择 code> –默认) li>- Convert tags (example:
A bold
choice becomes A <b>bold</b> choice
) - 转换标签(例如:
A 粗体 b> code>选择变为 A&lt; b&gt; bold&lt; / b&gt;选择 code>) li>- Remove tags and content (example:
A bold choice
becomes A choice
) - 删除标签和内容(例如:
A 粗体 b>选择 code>变为 A选择 code>) li>
ol>
The comments are changed before being saved to your WordPress database so that, if you decide to
注释在保存到WordPress数据库之前已更改,以便您决定
uninstall or deactivate CommentSafe, your comments will remain sanitised and safe.
卸载或停用CommentSafe,您的评论将保持安全。 p>
For further information and updates, see http://abitgone.co.uk/projects/commentsafe有关更多信息和更新,请参见 http://abitgone.co.uk/projects/commentsafe a>.
a>。 p>