Simple Sticky Add To Cart For WooCommerce

Simple Sticky add to cart for WooCommerce show on product page top and bottom with full color customization and much more option.

v1.4.10Sharaz ShahidUpdated Added 900 installs86% rating
33
Score
401
Errors
70
Warnings
+0
Change

Category Scores

Security0
Repo77
Performance100
Maintainability58

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

471 findings

I18n

296

4 issue groups

Security

134

9 issue groups

Maintainability

32

11 issue groups

Supply Chain

4

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'sticky-add-to-cart-woo' but got 'solbox'.195
Category
I18n
Occurrences
195
Severity
error

Sample message

Mismatched text domain. Expected 'sticky-add-to-cart-woo' but got 'solbox'.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='error notice-info is-dismissible'>\n'.78
Category
Security
Occurrences
78
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='error notice-info is-dismissible'>\n'.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $add_to_cart_text51
Category
I18n
Occurrences
51
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $add_to_cart_text

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().49
Category
I18n
Occurrences
49
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET[&#039;_wpnonce&#039;] not unslashed before sanitization. Use wp_unslash() or similar24
Category
Security
Occurrences
24
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[&#039;comments&#039;]. 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: $_POST[&#039;comments&#039;]. Check that the array index exists before using it.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[&#039;_wpnonce&#039;]7
Category
Security
Occurrences
7
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGMaintainabilityMissing Version5
Category
Maintainability
Occurrences
5
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.

WARNINGMaintainabilityNon-prefixed function4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORSupply ChainHidden files included4
Category
Supply Chain
Occurrences
4
Severity
error

Sample message

Hidden files are not permitted.

WARNINGMaintainabilityNon-prefixed global variable2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$dummy_output&quot;.

WARNINGMaintainabilityNot In Footer2
Category
Maintainability
Occurrences
2
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.

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.

WARNINGMaintainabilityDirect Query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching1
Category
Maintainability
Occurrences
1
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 prepared1
Category
Security
Occurrences
1
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $inner_sql at &quot;SELECT META.meta_key as `key`, SUM( META.meta_value ) as `value` FROM ( $inner_sql ) as POSTS INNER JOIN $wpdb-&gt;postmeta as META ON POSTS.ID = META.post_id WHERE META.meta_key IN ( &#039;_sc_meta_views&#039;, &#039;_sc_meta_clicks&#039; ) GROUP BY META.meta_key&quot;

ERRORSecuritySQL query is not prepared1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGSecurityUnfinished Prepare1
Category
Security
Occurrences
1
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

ERRORMaintainabilitydate date1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed namespace1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

External Connections

Potential connections found in static code analysis.

9 domains

Outbound calls

35

External assets

0

Incoming endpoints

7

Notable Domains

solbox.dev19 · outbound
browsersync.io1 · outbound
semver.org1 · outbound
twitter.com1 · outbound

Platform / Reference Domains

github.com4 · platform/reference
wordpress.org4 · platform/reference
gnu.org1 · platform/reference
w3.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_wsatc_add_cart_singlepublic

wp_ajax

wp_ajax_nopriv_wsatc_pro_analyticspublic

wp_ajax

Admin AJAX endpoints5
wp_ajax_wsatc_add_cart_singleauthenticated

wp_ajax

wp_ajax_wsatc_deactivation_feedbackauthenticated

wp_ajax

wp_ajax_wsatc_pro_analyticsauthenticated

wp_ajax

wp_ajax_wsatc_reset_settingsauthenticated

wp_ajax

wp_ajax_wsatc_save_settingsauthenticated

wp_ajax

Score History

First score snapshot

v1.4.10

33

Latest

Findings
471
Errors
401
Warnings
70
Check
2.0.0

Relationship Map

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

34 nodes

Related Plugins