Title: Content Cleaner
Author: colin3440
Published: <strong>2017 年 2 月 15 日</strong>
Last modified: 2017 年 2 月 15 日

---

搜索插件

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

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

# Content Cleaner

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

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

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

 [支持](https://wordpress.org/support/plugin/content-cleaner/)

## 描述

The Content Cleaner plugin is an all-in-one tool for automatically removing non-
printable characters from content and
 title fields. After building WordPress sites
for many years, one problem that consistently plagues my clients (especially the
less tech-savvy ones) is non-printable characters in their content or in their titles.
This plugin works by running a regular expression find and replace to clean up post
content, post titles, and even Advanced Custom Fields. It’s extremely lightweight
and works without any setup required.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/content-cleaner` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## 常见问题

  Will Content Cleaner delete things I don’t want it to delete?

For most people, Content Cleaner won’t appear to make any difference and won’t remove
anything from your content.

  What is the regex you’re running on the content?

All content and titles are run through a preg_replace function using this regular
expression: ‘/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/u’

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「Content Cleaner」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/content-cleaner)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * Added ACF compatibility.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.2 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/content-cleaner/)
 * 标签
 * [clean](https://cn.wordpress.org/plugins/tags/clean/)[sanitize](https://cn.wordpress.org/plugins/tags/sanitize/)
   [unicode](https://cn.wordpress.org/plugins/tags/unicode/)[utf-8](https://cn.wordpress.org/plugins/tags/utf-8/)
 *  [高级视图](https://cn.wordpress.org/plugins/content-cleaner/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://colinul.in/)