Add Quantity Field on Shop Page for WooCommerce

A lightweight plugin that displays the quantity field on shop page of WooCommerce.

v1.0.20Tanvirul HaqueUpdated Added 700 installs100% rating
61
Score
33
Errors
7
Warnings
+0
Change

Category Scores

Security32
Repo94
Performance100
Maintainability94

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

40 findings

Security

21

4 issue groups

I18n

16

4 issue groups

Maintainability

2

1 issue group

Repo Compliance

1

1 issue group

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'add-quantity-field-on-shop-page-for-woocommerce' but got 'add-quantity-field-on-shop-page'.13
Category
I18n
Occurrences
13
Severity
error

Sample message

Mismatched text domain. Expected 'add-quantity-field-on-shop-page-for-woocommerce' but got 'add-quantity-field-on-shop-page'.

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

Sample message

Detected usage of a non-sanitized input variable: $_GET['_aqf_nonce']

WARNINGSecurityRequest data is not unslashed$_GET['_aqf_nonce'] not unslashed before sanitization. Use wp_unslash() or similar2
Category
Security
Occurrences
2
Severity
warning

Sample message

$_GET['_aqf_nonce'] 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;2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGI18nDiscouraged text-domain loadingload_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.1
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.

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

Sample message

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

ERRORI18nMissing Translators CommentA function call to esc_html__() 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.1
Category
I18n
Occurrences
1
Severity
error

Sample message

A function call to esc_html__() 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.

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.8 < 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.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.8 < 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 mismatchThe "Text Domain" header in the plugin file does not match the slug. Found "add-quantity-field-on-shop-page", expected "add-quantity-field-on-shop-page-for-woocommerce".1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "add-quantity-field-on-shop-page", expected "add-quantity-field-on-shop-page-for-woocommerce".

External Connections

Potential connections found in static code analysis.

4 domains

Outbound calls

5

External assets

0

Incoming endpoints

1

Notable Domains

wpxpress.net2 · outbound

Platform / Reference Domains

downloads.wordpress.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_install_woo_variable_lowest_priceauthenticated

wp_ajax

Score History

First score snapshot

v1.0.20

61

Latest

Findings
40
Errors
33
Warnings
7
Check
2.0.0

Relationship Map

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

31 nodes

Related Plugins

ACF Field For CF7

10k+ active installs

99
Masks Form Fields

9k+ active installs

99
Wishlist for WooCommerce

900 active installs

99
Comments Shortcode

900 active installs

98