HTML Purified replaces the default WordPress comments filters with HTML Purifier, a super HTML filtering
HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will
not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet
permissive whitelist, it will also make sure your documents are standards compliant, something
only achievable with a comprehensive knowledge of W3C’s specifications.
An additional feature of HTML Purifier is that it will produce valid well-formed XHTML code, something
which KSES does not do.
- Configurable KSES or HTML Purifier
- Configurable list of HTML elements and attributes for both KSES and HTML purifier
- Additionally process comments with HTML Tidy
- URL blacklist
- Fully localized (and awaiting translations)
- Automatically escape PHP or anything inside backticks
HTML Purifier is available in:
- Spanish, thanks to José Cuesta
- Belorussian, thanks to Marcis Gasuns
- Russian, thanks to Ilyuha
- Uzbekistan, thanks to Alexandra Bolshova
- Dutch, thanks to Pieter
- German, thanks to Andreas Beraz
- Polish, thanks to Kasia Ciszewski & Dawid Śpiechowicz
- Romanian, thanks to Alina @ InboxTranslations.com
- Lithuanian, thanks to Nata Strazda
- Ukranian, thanks to Iflexion Design
Full documentation can be found on the HTML Purified page.
The plugin is simple to install:
- Upload html-purified directory to your
- Go to the plugin management page and enable the plugin
- Configure the options from the
You can find full details of installing a plugin on the plugin installation page.
- Why would I want to replace the default WordPress filter?
There is nothing fundamentally wrong with the way WordPress filters comments, and in fact there has been no security alert related to this. However, this doesn’t detract from the desire to make things better, and the fact that HTML Purifier is much more thorough and exhaustive.
- Does this plugin also protect posts?
Not currently, no, but it is planned for a future version
There are no reviews for this plugin.
Contributors & Developers
“HTML Purified” is open source software. The following people have contributed to this plugin.Contributors
- Initial released version
- Change cache directory
- Allow no tag
- Update HTML purifier to 2.0.1
- Update HTML purifier to 2.1.1
- Fix cache directory write error
- Add Spanish localization
- Add auto-escape PHP option
- Update to HTML purifier 2.1.2
- Add option for bbcode-style tags
- Update to HTML Purifier 2.1.3
- Now works in bbPress!
- Update plugin library
- HTML Purifier PHP4 2.1.5, PHP5 3.1.1 – WP 2.5.1
- WP 2.6
- Update base library
- bbPress working again
- Clean up code
- WP 2.8
- Support for syntaxhighlighter
- Fixes to backticks
- Add Uzbekistan
- Add Russian
- PHP5 only
- Update to HTML Purifier 4.2.0
- Add German
- Add Dutch
- Add Polish translation, thanks to Kasia Ciszewski & Dawid Śpiechowicz
- Add Lithuanian
- Add Ukranian
- Code cleanup