Ultimate Custom Add To Cart Button (Ajax) For WooCommerce by Binary Carpenter

Ultimate Custom Add To Cart Button For WooCommerce let you fully customize the add to cart button on your WooCommerce store.

v1.222.17BinaryCarpenterUpdated Added 700 installs80% rating
37
Score
151
Errors
61
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability70

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

212 findings

Security

143

6 issue groups

Maintainability

55

9 issue groups

I18n

12

4 issue groups

Repo Compliance

2

2 issue groups

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

Sample message

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

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.25
Category
Maintainability
Occurrences
25
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

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

Sample message

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

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'custom-add-to-cart-button-for-woocommerce' but got ''.5
Category
I18n
Occurrences
5
Severity
error

Sample message

Mismatched text domain. Expected 'custom-add-to-cart-button-for-woocommerce' but got ''.

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityNo Explicit VersionVersion parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: Config::PLUGIN_TEXT_DOMAIN4
Category
I18n
Occurrences
4
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: Config::PLUGIN_TEXT_DOMAIN

Show 11 more
WARNINGSecurityInput is not sanitized3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityNo PHP code found2
Category
Maintainability
Occurrences
2
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.

ERRORSecurityUnsafe printing function2
Category
Security
Occurrences
2
Severity
error

Sample message

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

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.

ERRORI18nMissing Arg Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Ultimate Custom Add To Cart Button (Ajax) For WooCommerce by Binary Carpenter" is different from the name declared in plugin header "Ultimate Add To Cart Button For WooCommerce".

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

Sample message

Tested up to: 6.4 < 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.

ERRORRepo Compliancereadme mismatched header requires php1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires PHP: 5.6 != 7.0. "Requires PHP" needs to be exactly the same with that in your main plugin file's header.

ERRORMaintainabilitystable tag mismatch1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Mismatched Stable Tag: 1.222.15 != 1.222.17. Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "bc-ultimate-atc", expected "custom-add-to-cart-button-for-woocommerce".

External Connections

Potential connections found in static code analysis.

12 domains

Outbound calls

18

External assets

0

Incoming endpoints

4

Notable Domains

binarycarpenter.com5 · outbound
api.gotkey.io2 · outbound
getuikit.com1 · outbound
gotkey.io1 · outbound
img.youtube.com1 · outbound

Platform / Reference Domains

w3.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_bc_atc_add_productpublic

wp_ajax

Admin AJAX endpoints3
wp_ajax_bc_atc_add_productauthenticated

wp_ajax

wp_ajax_bc_uatc_activate_licenseauthenticated

wp_ajax

wp_ajax_bc_uatc_save_optionsauthenticated

wp_ajax

Score History

First score snapshot

v1.222.17

37

Latest

Findings
212
Errors
151
Warnings
61
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins