Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
469
10 issue groups
I18n
462
5 issue groups
Security
308
10 issue groups
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().432
- Category
- I18n
- Occurrences
- 432
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORMaintainabilityEcho FoundShort PHP opening tag used with echo; expected "<?php echo $activeCountry ..." but found "<?= $activeCountry ..."252
- Category
- Maintainability
- Occurrences
- 252
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo $activeCountry ..." but found "<?= $activeCountry ..."
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$activeCountry".118
- Category
- Maintainability
- Occurrences
- 118
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$activeCountry".
ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='$forceUrl'>"'.108
- Category
- Security
- Occurrences
- 108
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='$forceUrl'>"'.
WARNINGSecurityRecommendedProcessing form data without nonce verification.46
- Category
- Security
- Occurrences
- 46
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityMissing Unslash$_GET['confirm'] not unslashed before sanitization. Use wp_unslash() or similar43
- Category
- Security
- Occurrences
- 43
- Severity
- warning
Sample message
$_GET['confirm'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.33
- Category
- Maintainability
- Occurrences
- 33
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().29
- Category
- Maintainability
- Occurrences
- 29
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$customerNumberPrefix'.28
- Category
- Security
- Occurrences
- 28
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$customerNumberPrefix'.
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['filter_context']23
- Category
- Security
- Occurrences
- 23
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['filter_context']
Show 15 moreShow less
ERRORSecurityNot Prepared20
- Category
- Security
- Occurrences
- 20
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $prefix
WARNINGSecurityMissing19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORI18nMissing Translators Comment15
- Category
- I18n
- Occurrences
- 15
- 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.
WARNINGMaintainabilitySchema Change11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- warning
Sample message
Attempting a database schema change is discouraged.
WARNINGSecurityUnescaped DBParameter10
- Category
- Security
- Occurrences
- 10
- Severity
- warning
Sample message
Unescaped parameter $prefix used in $wpdb->query()\n$prefix used without escaping.
ERRORMaintainabilitydate date10
- Category
- Maintainability
- Occurrences
- 10
- 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 print r8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
WARNINGSecurityInput Not Validated7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['id']. Check that the array index exists before using it.
ERRORI18nNon Singular String Literal Text7
- Category
- I18n
- Occurrences
- 7
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: "Confirma que pretende marcar todas as encomendas como já geradas? <a href='" . admin_url('admin.php?page=moloni&action=remInvoiceAll&confirm=true') . "'>Sim confirmo!</a>"
WARNINGSecurityInterpolated Not Prepared4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$prefix} at "RENAME TABLE moloni_api TO {$prefix}moloni_api"
ERRORI18nText Domain Mismatch4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
Mismatched text domain. Expected 'moloni' but got 'Moloni'.
ERRORI18nUnordered Placeholders Text4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d, %3$s", but got "%d, %d, %s" in 'Stock já se encontra correto no Moloni (%d|%d) (%s)'.
ERRORMaintainabilitymissing direct file access protection3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORMaintainabilitywp function not compatible with requires wp3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
Function "str_starts_with()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 4.6.0.
WARNINGMaintainabilityMixed2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
File has mixed line endings; this may cause incorrect results
Score History
First score snapshot
v5.0.05
22
Latest
- Findings
- 1,258
- Errors
- 902
- Warnings
- 356
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 22 | 1,258 | 902 | 356 | v5.0.05 | 2.0.0 |