Posti Shipping

This plugin enables WooCommerce orders to ship using Posti.

v3.10.13PostiUpdated Added 1k+ installs60% rating
32
Score
664
Errors
157
Warnings
+0
Change

Category Scores

Security0
Repo90
Performance100
Maintainability40

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

821 findings

I18n

388

4 issue groups

Security

381

9 issue groups

Maintainability

43

12 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'posti-shipping' but got 'woo-pakettikauppa'.376
Category
I18n
Occurrences
376
Severity
error

Sample message

Mismatched text domain. Expected 'posti-shipping' but got 'woo-pakettikauppa'.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_order'.228
Category
Security
Occurrences
228
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_order'.

WARNINGSecurityRequest data is not unslashed$_POST[$field['id']] not unslashed before sanitization. Use wp_unslash() or similar37
Category
Security
Occurrences
37
Severity
warning

Sample message

$_POST[$field['id']] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[$field_pref . 'secret_key']. Check that the array index exists before using it.30
Category
Security
Occurrences
30
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed namespaceNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Woo_Pakettikauppa_Core".15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Woo_Pakettikauppa_Core".

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[$field_pref . 'secret_key']15
Category
Security
Occurrences
15
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$field_pref . 'secret_key']

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$e'.8
Category
Security
Occurrences
8
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$e'.

Show 15 more
ERRORI18nMissing Arg Domain7
Category
I18n
Occurrences
7
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORMaintainabilityblock api version too low4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.

ERRORMaintainabilityMissing direct file access protection4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityDynamic hook name3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->core->prefix . '_enable_setup_wizard'".

WARNINGMaintainabilityNon-prefixed hook name3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "admin_enqueue_scripts".

WARNINGMaintainabilityNon-prefixed global variable3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
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.

WARNINGI18nDiscouraged text-domain loading2
Category
I18n
Occurrences
2
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.

ERRORMaintainabilitycurl curl exec2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl getinfo2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl init2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl setopt2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_date()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 5.0.0.

WARNINGMaintainabilityNon-prefixed class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Woo_Posti_Shipping".

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
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.

External Connections

Potential connections found in static code analysis.

17 domains

Outbound calls

41

External assets

0

Incoming endpoints

16

Notable Domains

posti.fi5 · outbound
pakettikauppa.fi3 · outbound
api.posti.fi2 · outbound

Platform / Reference Domains

github.com6 · platform/reference
w3.org3 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_pakettikauppa_blocks_get_custom_pickup_pointspublic

wp_ajax

wp_ajax_nopriv_pakettikauppa_blocks_get_pickup_pointspublic

wp_ajax

wp_ajax_nopriv_pakettikauppa_save_pickup_point_info_to_sessionpublic

wp_ajax

wp_ajax_nopriv_pakettikauppa_use_custom_address_for_pickup_pointpublic

wp_ajax

Admin AJAX endpoints12
admin_post_show_pakettikauppaauthenticated

admin_post

wp_ajax_check_apiauthenticated

wp_ajax

wp_ajax_get_pickup_point_by_custom_addressauthenticated

wp_ajax

wp_ajax_pakettikauppa_blocks_get_custom_pickup_pointsauthenticated

wp_ajax

wp_ajax_pakettikauppa_blocks_get_pickup_pointsauthenticated

wp_ajax

wp_ajax_pakettikauppa_get_pickup_pointsauthenticated

wp_ajax

wp_ajax_pakettikauppa_meta_boxauthenticated

wp_ajax

wp_ajax_pakettikauppa_meta_box_bulkauthenticated

wp_ajax

wp_ajax_pakettikauppa_save_pickup_point_info_to_sessionauthenticated

wp_ajax

wp_ajax_pakettikauppa_use_custom_address_for_pickup_pointauthenticated

wp_ajax

wp_ajax_pk_manifest_call_courierauthenticated

wp_ajax

wp_ajax_update_estimated_shipping_priceauthenticated

wp_ajax

Score History

First score snapshot

v3.10.13

32

Latest

Findings
821
Errors
664
Warnings
157
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins