Free Gift Product For WooCommerce

Automatically offer free gift products in WooCommerce based on product quantity, category, or cart total. Boost conversions and delight customers with …

v1.1silverplugins217Updated Added 800 installs94% rating
70
Score
9
Errors
77
Warnings
+0
Change

Category Scores

Security53
Repo94
Performance100
Maintainability82

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

86 findings

Maintainability

57

6 issue groups

Security

17

4 issue groups

I18n

10

2 issue groups

Repo Compliance

2

2 issue groups

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'free-gifts-product-for-woocommerce' but got "free-gifts-for-woocommerce".9
Category
I18n
Occurrences
9
Severity
error

Sample message

Mismatched text domain. Expected 'free-gifts-product-for-woocommerce' but got "free-gifts-for-woocommerce".

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_GET['q'] not unslashed before sanitization. Use wp_unslash() or similar5
Category
Security
Occurrences
5
Severity
warning

Sample message

$_GET['q'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "FGFWP_get_item_data".4
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: "FGFWP_get_item_data".

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FGW_BASE_NAME".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FGW_BASE_NAME".

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_REQUEST['nonce']2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_REQUEST['nonce']

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

Sample message

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

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

Sample message

Detected usage of meta_query, possible slow query.

Show 4 more
WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Free Gift Product For WooCommerce" is different from the name declared in plugin header "Free Gift Product For Woocommerce".

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "free-gifts-for-woocommerce", expected "free-gifts-product-for-woocommerce".

External Connections

Potential connections found in static code analysis.

10 domains

Outbound calls

31

External assets

0

Incoming endpoints

4

Notable Domains

plugin999.com13 · outbound
select2.github.io2 · outbound
jquery.org1 · outbound
jsperf.com1 · outbound
whatwg.org1 · outbound

Platform / Reference Domains

w3.org5 · platform/reference
github.com3 · platform/reference
wordpress.org3 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_fgw_cats_ajaxpublic

wp_ajax

wp_ajax_nopriv_fgw_product_ajaxpublic

wp_ajax

Admin AJAX endpoints2
wp_ajax_fgw_cats_ajaxauthenticated

wp_ajax

wp_ajax_fgw_product_ajaxauthenticated

wp_ajax

Score History

First score snapshot

v1.1

70

Latest

Findings
86
Errors
9
Warnings
77
Check
2.0.0

Relationship Map

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

35 nodes

Related Plugins