Start serving properly sized, smart cropped & optimized images, plus CSS, JS and fonts from our CDN with a click; Automatic AVIF & WebP support.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
577
13 issue groups
Security
552
8 issue groups
I18n
74
4 issue groups
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$api_key'.382
- Category
- Security
- Occurrences
- 382
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$api_key'.
ERRORMaintainabilityEcho FoundShort PHP opening tag used with echo; expected "<?php echo ! ..." but found "<?= ! ..."378
- Category
- Maintainability
- Occurrences
- 378
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo ! ..." but found "<?= ! ..."
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account".107
- Category
- Maintainability
- Occurrences
- 107
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account".
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.44
- Category
- I18n
- Occurrences
- 44
- 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.
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_COOKIE['shortpixel-ai-front-worker']38
- Category
- Security
- Occurrences
- 38
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE['shortpixel-ai-front-worker']
WARNINGSecurityRecommendedProcessing form data without nonce verification.36
- Category
- Security
- Occurrences
- 36
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilityparse url parse urlparse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.33
- Category
- Maintainability
- Occurrences
- 33
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
WARNINGSecurityMissing Unslash$_COOKIE['shortpixel-ai-front-worker'] not unslashed before sanitization. Use wp_unslash() or similar32
- Category
- Security
- Occurrences
- 32
- Severity
- warning
Sample message
$_COOKIE['shortpixel-ai-front-worker'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityMissingProcessing form data without nonce verification.30
- Category
- Security
- Occurrences
- 30
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_FILES['import_settings_file']["tmp_name"]. Check that the array index exists before using it.24
- Category
- Security
- Occurrences
- 24
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['import_settings_file']["tmp_name"]. Check that the array index exists before using it.
Show 15 moreShow less
ERRORI18nUnordered Placeholders Text18
- Category
- I18n
- Occurrences
- 18
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s I\'ve just instantly optimized all of the images from my website with the ShortPixel Adaptive Images plugin. Truly a magical experience! Check it out %s'.
ERRORMaintainabilitybadly named files12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- error
Sample message
File and folder names must not contain spaces or special characters.
WARNINGMaintainabilityNon Prefixed Class Found9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "ShortPixelCLI".
WARNINGMaintainabilityNon Prefixed Hookname Found7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".
WARNINGSecurityInput Not Validated Not Sanitized6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
Detected usage of a non-sanitized, non-validated input variable _SERVER: "://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}"
ERRORMaintainabilityfile system operations rmdir6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: rmdir().
ERRORI18nMissing Arg Domain6
- Category
- I18n
- Occurrences
- 6
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORI18nNon Singular String Literal Text6
- Category
- I18n
- Occurrences
- 6
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: 'Error occurred: ' . $response->get_error_message()
ERRORMaintainabilitymissing direct file access protection6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORMaintainabilitydate date4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGMaintainabilityerror log var export4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
var_export() found. Debug code should not normally be used in production.
ERRORSecurityException Not Escaped4
- Category
- Security
- Occurrences
- 4
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$importPath'.
ERRORMaintainabilityfile system operations fclose4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
ERRORMaintainabilityfile system operations fopen4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
WARNINGMaintainabilityDiscouraged3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The use of function ini_set() is discouraged
Score History
First score snapshot
v3.11.5
24
Latest
- Findings
- 1,248
- Errors
- 926
- Warnings
- 322
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 1,248 | 926 | 322 | v3.11.5 | 2.0.0 |