Cryptocurrency Widgets Pack

Price ticker, table, cards, label widget for all cryptocurrencies using Coingecko API.

v2.0.1BlockseraUpdated Added 700 installs96% rating
39
Score
246
Errors
48
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability77

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

294 findings

Security

269

11 issue groups

Maintainability

20

12 issue groups

I18n

2

2 issue groups

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.143
Category
Security
Occurrences
143
Severity
error

Sample message

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

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $chunk45
Category
Security
Occurrences
45
Severity
error

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['columns'][intval($_GET['order'][0]['column'])]['name'] not unslashed before sanitization. Use wp_unslash() or similar9
Category
Security
Occurrences
9
Severity
warning

Sample message

$_GET['columns'][intval($_GET['order'][0]['column'])]['name'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['columns'][intval($_GET['order'][0]['column'])]['name']. Check that the array index exists before using it.8
Category
Security
Occurrences
8
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['columns'][intval($_GET['order'][0]['column'])]['name']. Check that the array index exists before using it.

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

Sample message

Processing form data without nonce verification.

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $cquery used in $wpdb->get_results()\n$cquery used without escaping.5
Category
Security
Occurrences
5
Severity
error

Sample message

Unescaped parameter $cquery used in $wpdb->get_results()\n$cquery used without escaping.

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

Sample message

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

ERRORMaintainabilityOffloaded ContentOffloading images, js, css, and other scripts to your servers or any remote service is disallowed.3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Use of a direct database call is discouraged.

Show 15 more
WARNINGMaintainabilityNo Caching3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared2
Category
Security
Occurrences
2
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $post_id at "SELECT meta_key, meta_value FROM $wpdb->postmeta WHERE post_id=$post_id"

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
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.

WARNINGSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilitySchema Change1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityslow db query meta key1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

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: "CryptoPack_Shortcodes".

WARNINGMaintainabilityNon-prefixed hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global variable1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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.

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORMaintainabilityNon Enqueued Stylesheet1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORI18nNon Singular String Literal Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: ucfirst($type)

External Connections

Potential connections found in static code analysis.

16 domains

Outbound calls

58

External assets

7

Incoming endpoints

4

Notable Domains

coingecko.com5 · outbound
blocksera.com2 · outbound
apache.org1 · outbound

Platform / Reference Domains

w3.org11 · platform/reference
wordpress.org4 · platform/reference
github.com1 · platform/reference

External Asset Domains

massivecryptopro.blocksera.com27 · asset + outbound
api.blocksera.com3 · asset + outbound

Incoming Endpoints

wp_ajax_nopriv_mcwp_tablepublic

wp_ajax

Admin AJAX endpoints3
wp_ajax_mcwp_noticeauthenticated

wp_ajax

wp_ajax_mcwp_tableauthenticated

wp_ajax

wp_ajax_mcwp_top_noticeauthenticated

wp_ajax

Score History

First score snapshot

v2.0.1

39

Latest

Findings
294
Errors
246
Warnings
48
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins