DHL eCommerce (Benelux) presents: The official DHL eCommerce for WooCommerce plugin to automate your e-commerce shipping process.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
390
8 issue groups
I18n
92
8 issue groups
Maintainability
55
9 issue groups
WARNINGSecurityRecommendedProcessing form data without nonce verification.86
- Category
- Security
- Occurrences
- 86
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.66
- Category
- Security
- Occurrences
- 66
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityMissing Unslash$_GET['dhlpwc_create_count'] not unslashed before sanitization. Use wp_unslash() or similar65
- Category
- Security
- Occurrences
- 65
- Severity
- warning
Sample message
$_GET['dhlpwc_create_count'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['dhlpwc_create_count']64
- Category
- Security
- Occurrences
- 64
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['dhlpwc_create_count']
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.57
- Category
- I18n
- Occurrences
- 57
- 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.
WARNINGSecurityMissingProcessing form data without nonce verification.42
- Category
- Security
- Occurrences
- 42
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$admin_link'.41
- Category
- Security
- Occurrences
- 41
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$admin_link'.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$custom_link".22
- Category
- Maintainability
- Occurrences
- 22
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$custom_link".
WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET['label_id']. Check that the array index exists before using it.21
- Category
- Security
- Occurrences
- 21
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['label_id']. Check that the array index exists before using it.
WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- warning
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Show 15 moreShow less
ERRORMaintainabilityrand mt rand8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
mt_rand() is discouraged. Use the far less predictable wp_rand() instead.
ERRORI18nNon Singular String Literal Text8
- Category
- I18n
- Occurrences
- 8
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $alternate_text
ERRORI18nMissing Arg Domain7
- Category
- I18n
- Occurrences
- 7
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORI18nUnordered Placeholders Text7
- Category
- I18n
- Occurrences
- 7
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%sClick here%s to go to the settings screen.'.
WARNINGSecuritywp redirect wp redirect5
- Category
- Security
- Occurrences
- 5
- Severity
- warning
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
ERRORI18nMissing Singular Placeholder4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
Missing singular placeholder, needed for some languages. See https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals
ERRORMaintainabilityrand rand3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
ERRORI18nText Domain Mismatch3
- Category
- I18n
- Occurrences
- 3
- Severity
- error
Sample message
Mismatched text domain. Expected 'dhlpwc' but got 'woocommerce'.
ERRORI18nUnordered Placeholders Plural3
- Category
- I18n
- Occurrences
- 3
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s, %3$s", but got "%s, %s, %s" in '%sDownload labels%s For orders: %s.'.
ERRORI18nUnordered Placeholders Single3
- Category
- I18n
- Occurrences
- 3
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s, %3$s", but got "%s, %s, %s" in '%sDownload label%s For order: %s.'.
WARNINGMaintainabilityNo Code Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
WARNINGMaintainabilityslow db query meta query2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
WARNINGMaintainabilityNon Prefixed Hookname Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".
ERRORMaintainabilityfile system operations readfile2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: readfile().
WARNINGMaintainabilityMissing Version2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
Score History
First score snapshot
v2.2.5
32
Latest
- Findings
- 552
- Errors
- 222
- Warnings
- 330
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 32 | 552 | 222 | 330 | v2.2.5 | 2.0.0 |