Title: Extend KSES
Author: tierrainnovation
Published: <strong>2009 年 8 月 25 日</strong>
Last modified: 2010 年 10 月 19 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/extend-kses.svg)

# Extend KSES

 作者：[tierrainnovation](https://profiles.wordpress.org/tierrainnovation/)

[下载](https://downloads.wordpress.org/plugin/extend-kses.zip)

 * [详情](https://cn.wordpress.org/plugins/extend-kses/#description)
 * [评价](https://cn.wordpress.org/plugins/extend-kses/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/extend-kses/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/extend-kses/#developers)

 [支持](https://wordpress.org/support/plugin/extend-kses/)

## 描述

This is a modified version (under the MIT License) of a plugin originally developed
by **[Tierra Innovation](http://www.tierra-innovation.com/)** for **[WNET.org](http://www.wnet.org/)**.

This plugin extends the HTML functionalify of the WordPress kses.php file, which
states the allowable HTML that the post/page content editor will accept. It allows
the site administrator to check pre-defined HTML tags that can also be allowed via
the editor. Tags include: `object`, `embed`, `param`, `iframe`, `map` and extensions
have been added to the `div` and `img` tags.

Keep in mind, that by checking a tag, you are making it acceptable to post said 
HTML and save it. If your users also post content, it is important that you make
sure you are not enabling any malicious HTML from wreaking havoc to your environment.
If there is a tag that is missing or that you would like us to add and support, 
feel free to leave a comment in our **[support](http://tierra-innovation.com/wordpress-cms/plugins/extend-kses/#respond)**
area for this plugin.

## 安装

 1. Upload `extend-kses` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Check the boxes next to the HTML tag you wish to enable and click `save options`
 4. Paste HTML code into the HTML version – NOT the visual version – of the post/page
    editor and save.

## 常见问题

  What tags are currently supported?

 1. `div` tag extended to allow for `id` child tag.
 2. `embed` tag is now fully supported, including the following children tags: `style`,`
    type`, `id`, `height`, `width`, `src` and the entire `object` tag (including children).
 3. `iframe` tag is now fully supported, including the following children tags: `width`,`
    height`, `frameborder`, `scrolling`, `marginheight`, `marginwidth` and `src`.
 4. `img` tag extended to allow for `usemap` child tag.
 5. `map` tag is now fully supported, including the following children tags: `name`
    and `id`
 6. `object` tag is now fully supported, including the following children tags: `style`,`
    height`, `width`, the entire `param` tag (including children) and the entire `embed`
    tag (including children).
 7. `param` tag is now fully supported, including the following children tags: `name`
    and `value`
 8. `pre` tag now fully supports Google Syntax Highlighter, including the following
    children tags: `style`, ‘name’, ‘class’, ‘lang’ and ‘width’

Need more help? **[Support](http://tierra-innovation.com/wordpress-cms/plugins/extend-kses/#respond)**

## 评价

此插件暂无评价。

## 贡献者及开发者

「Extend KSES」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ tierrainnovation ](https://profiles.wordpress.org/tierrainnovation/)

[帮助将「Extend KSES」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/extend-kses)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/extend-kses/)，查看[SVN仓库](https://plugins.svn.wordpress.org/extend-kses/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/extend-kses/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/extend-kses/)。

## 更新日志

#### 2.3

Added additional image map support

## 额外信息

 *  版本 **2.3**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.7 或更高版本 **
 *  已测试的最高版本为 **3.0.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/extend-kses/)
 * 标签
 * [kses](https://cn.wordpress.org/plugins/tags/kses/)[tiny mce](https://cn.wordpress.org/plugins/tags/tiny-mce/)
 *  [高级视图](https://cn.wordpress.org/plugins/extend-kses/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/extend-kses/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/extend-kses/reviews/)

## 贡献者

 *   [ tierrainnovation ](https://profiles.wordpress.org/tierrainnovation/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/extend-kses/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://tierra-innovation.com/wordpress-cms/plugins/extend-kses/)