Shipping for Nova Poshta

Доставка на відділення, поштомат та адресу (з автопошуком вулиць). Створення ТТН. Найзручніший плагін.

v1.19.8Ihor KitUpdated Added 500 installs82% rating0% support resolved
20
Score
598
Errors
923
Warnings
+0
Change

Category Scores

Security0
Repo64
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,521 findings

Security

890

11 issue groups

Maintainability

405

13 issue groups

I18n

139

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"&post=$order_id"'.252
Category
Security
Occurrences
252
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.224
Category
Security
Occurrences
224
Severity
warning

Sample message

Processing form data without nonce verification.

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

Sample message

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

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: NOVA_POSHTA_TTN_DOMAIN139
Category
I18n
Occurrences
139
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: NOVA_POSHTA_TTN_DOMAIN

WARNINGSecurityRequest data is not unslashed$_COOKIE['city'] not unslashed before sanitization. Use wp_unslash() or similar128
Category
Security
Occurrences
128
Severity
warning

Sample message

$_COOKIE['city'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE['city']96
Category
Security
Occurrences
96
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['city']

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

Sample message

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

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

Sample message

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.42
Category
Security
Occurrences
42
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'.37
Category
Security
Occurrences
37
Severity
error

Sample message

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

Show 15 more
WARNINGMaintainabilityDirect Query33
Category
Maintainability
Occurrences
33
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching32
Category
Maintainability
Occurrences
32
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityNon-prefixed function30
Category
Maintainability
Occurrences
30
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection19
Category
Maintainability
Occurrences
19
Severity
error

Sample message

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

ERRORMaintainabilitycurl curl exec18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

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

ERRORMaintainabilitycurl curl init18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

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

ERRORMaintainabilitycurl curl error17
Category
Maintainability
Occurrences
17
Severity
error

Sample message

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

WARNINGSecurityDatabase parameter is not escaped16
Category
Security
Occurrences
16
Severity
warning

Sample message

Unescaped parameter $city_table_name used in $wpdb->get_results()\n$city_table_name assigned unsafely at line 71.

WARNINGSecurityInterpolated SQL is not prepared16
Category
Security
Occurrences
16
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $city_table_name at "SHOW TABLES LIKE '$city_table_name'"

WARNINGMaintainabilityNon-prefixed hook name16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

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

ERRORSecuritySQL query is not prepared15
Category
Security
Occurrences
15
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $_POST

WARNINGMaintainabilityNon-prefixed class13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

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

ERRORMaintainabilitycurl curl close13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

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

ERRORSecurityDatabase parameter is not escaped9
Category
Security
Occurrences
9
Severity
error

Sample message

Unescaped parameter $delete_table_name used in $wpdb->get_results()\n$delete_table_name assigned unsafely at line 971.

ERRORMaintainabilitydate date7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

48 domains

Outbound calls

172

External assets

10

Incoming endpoints

19

Notable Domains

api.novaposhta.ua34 · outbound
my.novaposhta.ua13 · outbound
morkva.co.ua11 · outbound
php.net9 · outbound
api.slack.com6 · outbound
meta.firephp.org6 · outbound

Platform / Reference Domains

w3.org19 · platform/reference
github.com17 · platform/reference
wordpress.org2 · platform/reference

External Asset Domains

code.jquery.com4 · asset
cdn.jsdelivr.net3 · asset + outbound

Incoming Endpoints

wp_ajax_nopriv_actionMrkvNpGetAddressCostpublic

wp_ajax

wp_ajax_nopriv_actionMrkvNpGetPostomatCostpublic

wp_ajax

wp_ajax_nopriv_mrkv_np_remove_noticepublic

wp_ajax

wp_ajax_nopriv_mrkv_np_remove_ttnpublic

wp_ajax

wp_ajax_nopriv_my_action_for_wc_get_chosen_method_idspublic

wp_ajax

wp_ajax_nopriv_my_actionfogetnpshippngcostpublic

wp_ajax

Admin AJAX endpoints10
wp_ajax_actionMrkvNpGetAddressCostauthenticated

wp_ajax

wp_ajax_actionMrkvNpGetPostomatCostauthenticated

wp_ajax

wp_ajax_mrkv_np_remove_noticeauthenticated

wp_ajax

wp_ajax_mrkv_np_remove_ttnauthenticated

wp_ajax

wp_ajax_mrkvnp_warehouses_updatedauthenticated

wp_ajax

wp_ajax_my_action_for_wc_get_chosen_method_idsauthenticated

wp_ajax

wp_ajax_my_actionfogetnpshippngcostauthenticated

wp_ajax

wp_ajax_novaposhta_updbasesnpauthenticated

wp_ajax

wp_ajax_npdata_fetchauthenticated

wp_ajax

wp_ajax_npdata_fetchwhauthenticated

wp_ajax

Score History

First score snapshot

v1.19.8

20

Latest

Findings
1,521
Errors
598
Warnings
923
Check
2.0.0

Relationship Map

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

35 nodes

Related Plugins