X-Currency – The Ultimate WooCommerce currency switcher for a smoother shopping experience

Woo Currency Switcher lets you handle multi-currency seamlessly, allowing customers to switch currencies on your WooCommerce store easily.

v2.5.1CrafiumUpdated Added 1k+ installs96% rating100% support resolved
77
Score
17
Errors
77
Warnings
+0
Change

Category Scores

Security70
Repo100
Performance100
Maintainability68

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

94 findings

Maintainability

80

13 issue groups

Security

7

1 issue group

I18n

7

2 issue groups

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

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORI18nMissing Translators CommentA function call to esc_html__() 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.6
Category
I18n
Occurrences
6
Severity
error

Sample message

A function call to esc_html__() 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.

WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "after_load_x_currency".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityMissing VersionResource 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.2
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 protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

Show 6 more
WARNINGMaintainabilityslow db query meta key1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta value1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

ERRORMaintainabilityDiscouraged WordPress constant usage: PLUGINDIR1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found usage of constant "PLUGINDIR". Use WP_PLUGIN_DIR instead.

ERRORI18nUnordered Placeholders Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Extra fee %s for %s currency'.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "X-Currency - The Ultimate WooCommerce currency switcher for a smoother shopping experience" is different from the name declared in plugin header "X-Currency".

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "X-Currency - The Ultimate WooCommerce currency switcher for a smoother shopping experience" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your name.

External Connections

Potential connections found in static code analysis.

21 domains

Outbound calls

48

External assets

0

Incoming endpoints

1

Notable Domains

crafium.com6 · outbound
appsero.com4 · outbound
bit.ly2 · outbound
php-fig.org2 · outbound
api.apilayer.com1 · outbound

Platform / Reference Domains

w3.org13 · platform/reference
github.com5 · platform/reference
gnu.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_appsero_refresh_license_authenticated

wp_ajax

Score History

First score snapshot

v2.5.1

77

Latest

Findings
94
Errors
17
Warnings
77
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins