HTML Editor Syntax Highlighter

Add syntax highlighting to WordPress code editors using CodeMirror.js

v2.4.4Peter MukhortovUpdated Added 50k+ installs88% rating
42
Score
30
Errors
21
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability96

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

51 findings

Security

45

4 issue groups

Maintainability

3

3 issue groups

Repo Compliance

3

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$current'.27
Category
Security
Occurrences
27
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$current'.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[$id]6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$id]

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[$id]. Check that the array index exists before using it.6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[$id]. Check that the array index exists before using it.

WARNINGSecurityRequest data is not unslashed$_POST[$id] not unslashed before sanitization. Use wp_unslash() or similar6
Category
Security
Occurrences
6
Severity
warning

Sample message

$_POST[$id] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityShort URL foundShort URL detected (goo.gl). Use full URLs instead of URL shorteners.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Short URL detected (goo.gl). Use full URLs instead of URL shorteners.

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.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.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.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.

ERRORRepo Complianceplugin header no licenseMissing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGRepo Compliancereadme parser warnings too many tagsOne or more tags were ignored. Please limit your plugin to 5 tags.1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.4.4

42

Latest

Findings
51
Errors
30
Warnings
21
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

27 nodes

Related Plugins