The Law
HTMLawed is an html sanitizer and validator by PHP Labware, dual licenced with LGPL3 and GPL2+.
Consider an alternative
The Law shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites and was last updated 13 years ago, and scores 24/100 on our health check.
- Small user base (30+ active installs)
- Very few reviews so far
- No update in 12 years
- Only tested up to WordPress 3.6 (latest is 7.1)
Daily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where The Law stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| code whitelist | >100 |
| htmlawed | #1 |
| xss protection | >100 |
Version adoption
Share of active sites per release.
About The Law
From the official readme · v1.0Description
HTMLawed is an html sanitizer and validator by PHP Labware, dual licenced with LGPL3 and GPL2+.
This plugin will run HTMLawed (current version 1.1.16) as a filter on post and title content. Using
the default settings embed tags, script tags, inline stylesheets and iframes will be removed from the html.
Config
Refer to the htmlawed documentation for config options for htmlawed. The .htmlawedconfig file
included with the plugin follows the .ini file syntax and by default strips content for xss-unsafe
elements. This file will not show up in the wordpress plugin editor.
Installation
- Upload
plugin-name.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- that’s it.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
FAQ
The Law: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is The Law free?
Yes. The Law is free to download and use from the official WordPress.org plugin directory.
Is The Law safe to use in 2026?
The Law shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites and was last updated 13 years ago, and scores 24/100 on our health check.
How many websites use The Law?
The Law is active on 30+ WordPress websites and has been downloaded 1,853 times since it launched in December 2013. It was downloaded 74 times in the last 30 days.
Does The Law work with WordPress 7.1?
The Law is officially tested up to WordPress 3.6.1, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was The Law last updated?
The latest version, 1.0, was released on December 29, 2013 (13 years ago).
Who makes The Law?
The Law is developed and maintained by kennethrapp.
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
