Bitcoin Payments – Blockonomics

Accept Bitcoin/USDT payments on your WooCommerce website. Crypto payments go directly to your wallet.

v3.9.1blockonomicsUpdated Added 3k+ installs90% rating
29
Score
208
Errors
227
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability26

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

435 findings

Security

224

11 issue groups

Maintainability

173

10 issue groups

I18n

20

4 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<label class=$label_class>"'.128
Category
Security
Occurrences
128
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<label class=$label_class>"'.

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;MAX_STRUCTURED_SYMBOLS&quot;.33
Category
Maintainability
Occurrences
33
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;MAX_STRUCTURED_SYMBOLS&quot;.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;add_page&quot;.24
Category
Maintainability
Occurrences
24
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;add_page&quot;.

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo __ ..." but found "<?= __ ..."22
Category
Maintainability
Occurrences
22
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo __ ..." but found "<?= __ ..."

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FormFields&quot;.22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FormFields&quot;.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.20
Category
Maintainability
Occurrences
20
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().19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$addr&quot;.15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$addr&quot;.

WARNINGSecurityRequest data is not unslashed$_POST[&#039;blockonomics_api_key&#039;] not unslashed before sanitization. Use wp_unslash() or similar9
Category
Security
Occurrences
9
Severity
warning

Sample message

$_POST[&#039;blockonomics_api_key&#039;] not unslashed before sanitization. Use wp_unslash() or similar

Show 15 more
ERRORMaintainabilityMissing direct file access protection9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

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

ERRORSecuritySQL query is not prepared8
Category
Security
Occurrences
8
Severity
error

Sample message

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

WARNINGSecurityDatabase parameter is not escaped7
Category
Security
Occurrences
7
Severity
warning

Sample message

Unescaped parameter $table_name used in $wpdb-&gt;get_row()\n$table_name assigned unsafely at line 1371.

WARNINGSecurityInterpolated SQL is not prepared7
Category
Security
Occurrences
7
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $table_name at &quot;ALTER TABLE $table_name ADD PRIMARY KEY (order_id, crypto, address, txid)&quot;

ERRORI18nNo Empty Strings7
Category
I18n
Occurrences
7
Severity
error

Sample message

The $text text string should have translatable content. Found: ''

WARNINGMaintainabilitySchema Change6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityInput is not sanitized5
Category
Security
Occurrences
5
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[&#039;blockonomics_setup_nonce&#039;]

ERRORI18nMissing Translators Comment5
Category
I18n
Occurrences
5
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.

ERRORI18nNon Singular String Literal Text5
Category
I18n
Occurrences
5
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: 'Blockonomics is almost ready. To get started, connect your account <a href="'.$settings_url.'">on the Account setup page</a>.'

ERRORSecurityDatabase parameter is not escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

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

WARNINGSecuritywp redirect wp redirect4
Category
Security
Occurrences
4
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.

WARNINGSecurityInput is not validated4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;store_name&#039;]. 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.

ERRORSecurityException output is not escaped3
Category
Security
Occurrences
3
Severity
error

Sample message

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

ERRORI18nMissing Arg Domain3
Category
I18n
Occurrences
3
Severity
error

Sample message

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

Score History

First score snapshot

v3.9.1

29

Latest

Findings
435
Errors
208
Warnings
227
Check
2.0.0

Related Plugins