XT Ajax Add To Cart for WooCommerce

"XT Ajax Add To Cart for WooCommerce" allows users to add single products or variable products to the cart without the need to reload the en …

v1.1.7XplodedThemesUpdated Added 1k+ installs96% rating
23
Score
1,003
Errors
1,690
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance96
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,693 findings

Maintainability

1,621

13 issue groups

Security

637

8 issue groups

I18n

413

4 issue groups

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.548
Category
Security
Occurrences
548
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'xt-woo-ajax-add-to-cart' but got "xt-framework".380
Category
I18n
Occurrences
380
Severity
error

Sample message

Mismatched text domain. Expected 'xt-woo-ajax-add-to-cart' but got "xt-framework".

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDynamic hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$module-&gt;prefix( &#039;menu_loaded&#039; )&quot;.40
Category
Maintainability
Occurrences
40
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$module-&gt;prefix( &#039;menu_loaded&#039; )&quot;.

ERRORI18nMissing Translators CommentA 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.20
Category
I18n
Occurrences
20
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.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

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

Show 15 more
WARNINGSecurityRequest data is not unslashed16
Category
Security
Occurrences
16
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;active_plugins&quot;.

WARNINGMaintainabilityNot In Footer13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORI18nUnordered Placeholders Text11
Category
I18n
Occurrences
11
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s needs %s enabled'.

WARNINGSecuritywp redirect wp redirect9
Category
Security
Occurrences
9
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.

ERRORSecurityException output is not escaped7
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 '$message'.

WARNINGSecurityMissing nonce verification6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDirect Query5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGSecurityInput is not sanitized5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

WARNINGMaintainabilityNo Caching4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;rate_action&#039;]. Check that the array index exists before using it.

ERRORMaintainabilitywp function not compatible with requires wp4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityForbidden PHP function found2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

The use of function _cleanup_header_comment() is forbidden

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.

External Connections

Potential connections found in static code analysis.

38 domains

Outbound calls

296

External assets

0

Incoming endpoints

4

Notable Domains

xplodedthemes.com23 · outbound
jquery.org7 · outbound
jquerymobile.com5 · outbound
jsperf.com5 · outbound
whatwg.org5 · outbound

Platform / Reference Domains

opensource.org102 · platform/reference
github.com76 · platform/reference
w3.org10 · platform/reference
codex.wordpress.org4 · platform/reference
developer.wordpress.org4 · platform/reference
wordpress.org4 · platform/reference
en-ca.wordpress.org1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_woocommerce_public

wp_ajax

wp_ajax_nopriv_xtfw_public

wp_ajax

Admin AJAX endpoints2
wp_ajax_woocommerce_authenticated

wp_ajax

wp_ajax_xtfw_authenticated

wp_ajax

Score History

First score snapshot

v1.1.7

23

Latest

Findings
2,693
Errors
1,003
Warnings
1,690
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins