Reincarnation of Crayon Syntax Highlighter. Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, or post text.
Prioritized issue groups from the latest Plugin Check scan
Security
231
7 issue groups
Maintainability
59
16 issue groups
I18n
4
2 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"[ERROR] '$filepath' is not a valid PHP file for '$valid'"'.
Sample message
$_GET[$allow] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Processing form data without nonce verification.
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['css']. Check that the array index exists before using it.
Sample message
Detected usage of a non-sanitized input variable: $_GET[$allow]
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Could not create zip file at '$zipFile'"'.
Sample message
File and folder names must not contain spaces or special characters.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "UrvanovSyntaxHighlighterLog".
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Processing form data without nonce verification.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
Sample message
The $text parameter must be a single text string literal. Found: $text
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "get_comment_text".
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
Sample message
load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.
Sample message
Short URL detected (bit.ly). Use full URLs instead of URL shorteners.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "register_urvanov_syntax_highlighter_gutenberg_block".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$INT".
Sample message
trigger_error() found. Debug code should not normally be used in production.
Not analyzed yet.
First score snapshot
v2.9.1
30
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 30 | 308 | 221 | 87 | v2.9.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.