Mini Ajax Cart for WooCommerce

Mini Ajax Cart adds a sticky shopping cart on your WooCommerce store.

v1.3.4hashthemesUpdated Added 900 installs100% rating
35
Score
297
Errors
240
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability55

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

537 findings

I18n

261

3 issue groups

Maintainability

226

9 issue groups

Security

49

6 issue groups

Repo Compliance

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'mini-ajax-woo-cart' but got 'mini-ajax-cart'.259
Category
I18n
Occurrences
259
Severity
error

Sample message

Mismatched text domain. Expected 'mini-ajax-woo-cart' but got 'mini-ajax-cart'.

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['couponCode'] not unslashed before sanitization. Use wp_unslash() or similar8
Category
Security
Occurrences
8
Severity
warning

Sample message

$_POST['couponCode'] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

Processing form data without nonce verification.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['majc_settings']4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['majc_settings']

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

Sample message

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

Show 9 more
WARNINGMaintainabilityNot In Footer4
Category
Maintainability
Occurrences
4
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.

ERRORMaintainabilityfive star reviews detected2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Linking directly to 5 stars reviews is not allowed.

WARNINGMaintainabilityNo PHP code found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

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.

WARNINGMaintainabilityDiscouraged PHP function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

wp_reset_query() is discouraged. Use wp_reset_postdata() instead.

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilitybadly named files1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "mini-ajax-cart", expected "mini-ajax-woo-cart".

External Connections

Potential connections found in static code analysis.

14 domains

Outbound calls

53

External assets

0

Incoming endpoints

11

Notable Domains

demo.hashthemes.com18 · outbound
getharvest.com4 · outbound
1.envato.market3 · outbound
hashthemes.com3 · outbound
manos.malihu.gr3 · outbound
fontawesome.com2 · outbound

Platform / Reference Domains

github.com12 · platform/reference
wordpress.org2 · platform/reference
gnu.org1 · platform/reference
w3.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_add_coupon_codepublic

wp_ajax

wp_ajax_nopriv_change_item_qtypublic

wp_ajax

wp_ajax_nopriv_get_refresh_fragmentspublic

wp_ajax

wp_ajax_nopriv_remove_coupon_codepublic

wp_ajax

wp_ajax_nopriv_remove_itempublic

wp_ajax

Admin AJAX endpoints6
wp_ajax_add_coupon_codeauthenticated

wp_ajax

wp_ajax_change_item_qtyauthenticated

wp_ajax

wp_ajax_get_refresh_fragmentsauthenticated

wp_ajax

wp_ajax_majc_get_google_font_variantsauthenticated

wp_ajax

wp_ajax_remove_coupon_codeauthenticated

wp_ajax

wp_ajax_remove_itemauthenticated

wp_ajax

Score History

First score snapshot

v1.3.4

35

Latest

Findings
537
Errors
297
Warnings
240
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins