Reduce file size by shortening URLs and safely removing all standard comments and unnecessary whitespace from an HTML document.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
13
7 issue groups
Security
11
3 issue groups
Repo Compliance
5
5 issue groups
Sample message
Detected usage of a non-sanitized input variable: $_SERVER['HTTP_HOST']
Sample message
$_SERVER['HTTP_HOST'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['HTTP_HOST']. Check that the array index exists before using it.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP-HTML-Compression" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "html_minify_buffer".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$wp_html_compression_run".
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "HTML_Minify".
Sample message
trigger_error() found. Debug code should not normally be used in production.
Sample message
Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.
Sample message
Tested up to: 3.5 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Sample message
One or more tags were ignored. The following tags are not permitted: "plugin", "wordpress"
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.
Potential connections found in static code analysis.
Outbound calls
6
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
First score snapshot
v0.5.8
75
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 75 | 29 | 7 | 22 | v0.5.8 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.