This plugin adds the Ubigeo Peru to the Woocommerce checkout - _departamento - _provincia - _distrito
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
233
11 issue groups
Maintainability
171
9 issue groups
I18n
19
3 issue groups
Repo Compliance
2
2 issue groups
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "clear_checkout_fields".111
- Category
- Maintainability
- Occurrences
- 111
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "clear_checkout_fields".
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.71
- Category
- Security
- Occurrences
- 71
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$parts'.37
- Category
- Security
- Occurrences
- 37
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$parts'.
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $prepared30
- Category
- Security
- Occurrences
- 30
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $prepared
ERRORSecurityDatabase parameter is not escapedUnescaped parameter $prepared used in $wpdb->get_results()\n$prepared assigned unsafely at line 185.23
- Category
- Security
- Occurrences
- 23
- Severity
- error
Sample message
Unescaped parameter $prepared used in $wpdb->get_results()\n$prepared assigned unsafely at line 185.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.23
- Category
- Maintainability
- Occurrences
- 23
- 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().23
- Category
- Maintainability
- Occurrences
- 23
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityRequest data is not unslashed$_POST['idDep'] not unslashed before sanitization. Use wp_unslash() or similar17
- Category
- Security
- Occurrences
- 17
- Severity
- warning
Sample message
$_POST['idDep'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.12
- Category
- Security
- Occurrences
- 12
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['idDep']. Check that the array index exists before using it.12
- Category
- Security
- Occurrences
- 12
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['idDep']. Check that the array index exists before using it.
Show 15 moreShow less
ERRORI18nText Domain Mismatch12
- Category
- I18n
- Occurrences
- 12
- Severity
- error
Sample message
Mismatched text domain. Expected 'ubigeo-peru' but got 'woocommerce'.
WARNINGSecurityInterpolated SQL is not prepared11
- Category
- Security
- Occurrences
- 11
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $table_costo_ubigeo at "SELECT up.idProv, up.provincia FROM $table_costo_ubigeo as ucu \n
WARNINGSecurityNonce verification recommended10
- Category
- Security
- Occurrences
- 10
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecuritySetting is missing a sanitization callback6
- Category
- Security
- Occurrences
- 6
- Severity
- error
Sample message
Sanitization missing for register_setting().
WARNINGMaintainabilityNon-prefixed hook name6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "woocommerce_checkout_required_field_notice".
ERRORI18nMissing Translators Comment6
- Category
- I18n
- Occurrences
- 6
- 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 sanitized4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_SESSION['idDepa']
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;
WARNINGMaintainabilitytrademarked term2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Ubigeo de Perú para WooCommerce y WordPress" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your name.
WARNINGI18nDiscouraged text-domain loading1
- 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.
WARNINGMaintainabilityNon-prefixed constant1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "Version_RT_Ubigeo_Peru".
WARNINGMaintainabilityNon-prefixed global variable1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$plugin_ubigeo_peru_version".
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Ubigeo de Perú para Woocommerce y WordPress" is different from the name declared in plugin header "Ubigeo de Perú para WooCommerce y WordPress".
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
ERRORRepo Compliancereadme mismatched header requires1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Mismatched Requires at least: 5.2 != 5.6. "Requires at least" needs to be exactly the same with that in your main plugin file's header.
External Connections
Not analyzed yet.
Score History
First score snapshot
v4.7
36
Latest
- Findings
- 426
- Errors
- 191
- Warnings
- 235
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 426 | 191 | 235 | v4.7 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.