Опис
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.
Встановлення
- Upload the plugin files to the
/wp-content/plugins/content-cleaner
directory, or install the plugin through the WordPress plugins screen directly. - 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” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Content Cleaner” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
1.0
- Added ACF compatibility.