Pósturinn\'s Shipping with WooCommerce

Pósturinn Shipping with WooCommerce is a plugin that adds support to WooCommerce for Pósturinn postal service.

v1.5.1posturinnUpdated Added 500 installs0% rating
29
Score
713
Errors
551
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability22

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,264 findings

Security

567

9 issue groups

I18n

453

3 issue groups

Maintainability

231

13 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'posturinn' but got "postis".435
Category
I18n
Occurrences
435
Severity
error

Sample message

Mismatched text domain. Expected 'posturinn' but got "postis".

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$admin_url".173
Category
Maintainability
Occurrences
173
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$admin_url".

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Error while loading file {$template_path}"'.121
Category
Security
Occurrences
121
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Error while loading file {$template_path}"'.

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.120
Category
Security
Occurrences
120
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'.104
Category
Security
Occurrences
104
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGSecurityRequest data is not unslashed$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar86
Category
Security
Occurrences
86
Severity
warning

Sample message

$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.84
Category
Security
Occurrences
84
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['_wpnonce']42
Category
Security
Occurrences
42
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['_wpnonce']

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

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.15
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.

Show 15 more
ERRORMaintainabilityMissing direct file access protection8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGMaintainabilityerror log print r6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGMaintainabilityMissing Version6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORMaintainabilitywp function not compatible with requires wp6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Function "get_user_locale()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.3.0.

WARNINGMaintainabilityNon-prefixed function4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "append_description_to_shipping_method".

ERRORSecurityException output is 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 '__'.

WARNINGSecurityInput is not validated4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_REQUEST['order_id']. Check that the array index exists before using it.

ERRORMaintainabilitydate date3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORI18nUnordered Placeholders Text3
Category
I18n
Occurrences
3
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '<a href="%s">%s</a>'.

WARNINGMaintainabilityslow db query meta key2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta value2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

WARNINGMaintainabilityerror log var dump2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

var_dump() found. Debug code should not normally be used in production.

WARNINGSecuritywp redirect wp redirect2
Category
Security
Occurrences
2
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

ERRORMaintainabilityfile system operations fclose2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopen2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

External Connections

Potential connections found in static code analysis.

21 domains

Outbound calls

278

External assets

2

Incoming endpoints

20

Notable Domains

setasign.com54 · outbound
tcpdf.org38 · outbound
apitest.mappan.is12 · outbound
tecnick.com6 · outbound
unicode.org6 · outbound

Platform / Reference Domains

gnu.org57 · platform/reference
opensource.org52 · platform/reference
w3.org8 · platform/reference
github.com1 · platform/reference

External Asset Domains

Incoming Endpoints

wp_ajax_nopriv_postis_get_parcelpoints_for_blockspublic

wp_ajax

wp_ajax_nopriv_postis_get_postboxes_for_blockspublic

wp_ajax

Admin AJAX endpoints8
admin_post_postis_bulk_pdfauthenticated

admin_post

admin_post_postis_delete_shipmentauthenticated

admin_post

admin_post_postis_pdf_actionauthenticated

admin_post

wp_ajax_postis_create_shipment_actionauthenticated

wp_ajax

wp_ajax_postis_get_parcelpoints_for_blocksauthenticated

wp_ajax

wp_ajax_postis_get_postboxes_for_blocksauthenticated

wp_ajax

wp_ajax_postis_shipment_optionsauthenticated

wp_ajax

wp_ajax_postis_show_shipmentauthenticated

wp_ajax

Score History

First score snapshot

v1.5.1

29

Latest

Findings
1,264
Errors
713
Warnings
551
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

37 nodes

Related Plugins