RPB Chessboard

This plugin allows you to typeset and display chess diagrams and PGN-encoded chess games.

v8.1.2yo35Updated Added 1k+ installs96% rating
40
Score
86
Errors
98
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability74

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

184 findings

Security

85

6 issue groups

Maintainability

61

3 issue groups

I18n

38

4 issue groups

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

Sample message

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

WARNINGSecurityMissingProcessing form data without nonce verification.37
Category
Security
Occurrences
37
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['subpage']20
Category
Security
Occurrences
20
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['subpage']

WARNINGSecurityMissing Unslash$_GET['subpage'] not unslashed before sanitization. Use wp_unslash() or similar20
Category
Security
Occurrences
20
Severity
warning

Sample message

$_GET['subpage'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $color19
Category
I18n
Occurrences
19
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $color

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.14
Category
I18n
Occurrences
14
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$color".13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$color".

WARNINGSecurityRecommendedProcessing form data without nonce verification.4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to esc_attr_e().4
Category
I18n
Occurrences
4
Severity
error

Sample message

Missing $domain parameter in function call to esc_attr_e().

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_POST[$hideCoordinatesKey]. Check that the array index exists before using it.3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

Show 3 more
WARNINGI18nload plugin textdomain Found1
Category
I18n
Occurrences
1
Severity
warning

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.

ERRORSecurityException Not Escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilitytrunk stable tag1
Category
Maintainability
Occurrences
1
Severity
error

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.

Score History

First score snapshot

v8.1.2

40

Latest

Findings
184
Errors
86
Warnings
98
Check
2.0.0