Aceite diversos métodos de pagamento de forma simples e segura utilizando o Pagar.me!
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
360
5 issue groups
Security
189
11 issue groups
Maintainability
90
8 issue groups
Supply Chain
5
1 issue group
ERRORI18nText Domain MismatchMismatched text domain. Expected 'pagarme-payments-for-woocommerce' but got "woo-pagarme-payments".274
- Category
- I18n
- Occurrences
- 274
- Severity
- error
Sample message
Mismatched text domain. Expected 'pagarme-payments-for-woocommerce' but got "woo-pagarme-payments".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<p><strong>{$metaLabel}:</strong> {$documentNumber}</p>"'.66
- Category
- Security
- Occurrences
- 66
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<p><strong>{$metaLabel}:</strong> {$documentNumber}</p>"'.
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: "Please, make sure to include them for Pagar.me plugin to work. If you are customizing the "\n . "checkout, the address fields must have the 'name' attribute exactly as listed above. %sRead "\n . "documentation »%s"52
- Category
- I18n
- Occurrences
- 52
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: "Please, make sure to include them for Pagar.me plugin to work. If you are customizing the "\n . "checkout, the address fields must have the 'name' attribute exactly as listed above. %sRead "\n . "documentation »%s"
ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo $message ..." but found "<?= $message ..."43
- Category
- Maintainability
- Occurrences
- 43
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo $message ..." but found "<?= $message ..."
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.33
- Category
- Security
- Occurrences
- 33
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"The field '$field' is required for each seller."'.23
- Category
- Security
- Occurrences
- 23
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"The field '$field' is required for each seller."'.
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.21
- Category
- I18n
- Occurrences
- 21
- 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 is not sanitizedDetected usage of a non-sanitized input variable: $_GET['section']19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['section']
WARNINGSecurityRequest data is not unslashed$_GET['section'] not unslashed before sanitization. Use wp_unslash() or similar19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
$_GET['section'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;19
- Category
- Maintainability
- Occurrences
- 19
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Show 15 moreShow less
WARNINGSecurityNonce verification recommended9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecurityUnsafe printing function8
- Category
- Security
- Occurrences
- 8
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORI18nMissing Arg Domain8
- Category
- I18n
- Occurrences
- 8
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityNon-prefixed global variable7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class".
ERRORSecuritySQL query is not prepared5
- Category
- Security
- Occurrences
- 5
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $query
WARNINGMaintainabilityNon-prefixed function5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "addWoocommerceSupportedBlocks".
ERRORMaintainabilityNo Explicit Version5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_register_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.
ERRORI18nUnordered Placeholders Text5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$s, %3$s", but got "%d, %s, %s" in '%dx of %s (%s)'.
ERRORSupply ChainHidden files included5
- Category
- Supply Chain
- Occurrences
- 5
- Severity
- error
Sample message
Hidden files are not permitted.
ERRORMaintainabilitywp function not compatible with requires wp5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
Function "mb_strlen()" requires WordPress 4.2.0, but your plugin minimum supported version is WordPress 4.1.0.
WARNINGMaintainabilityDirect Query3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityInput is not validated3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['pagarme']. Check that the array index exists before using it.
ERRORSecurityDatabase parameter is not escaped2
- Category
- Security
- Occurrences
- 2
- Severity
- error
Sample message
Unescaped parameter $query used in $wpdb->get_results()\n$query used without escaping.
WARNINGSecurityInterpolated SQL is not prepared2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $column_name at "SHOW COLUMNS FROM $table_name LIKE '$column_name'"
Score History
First score snapshot
v3.9.0
24
Latest
- Findings
- 665
- Errors
- 549
- Warnings
- 116
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 665 | 549 | 116 | v3.9.0 | 2.0.0 |