Min & Max Quantity for WooCommerce: set limits by cost, product, variation, order, and groups for better purchase control
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
509
7 issue groups
Maintainability
272
14 issue groups
I18n
261
4 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'minmax-quantity-for-woocommerce' but got 'BeRocket_domain'.245
- Category
- I18n
- Occurrences
- 245
- Severity
- error
Sample message
Mismatched text domain. Expected 'minmax-quantity-for-woocommerce' but got 'BeRocket_domain'.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"&utm_term={$cur_plugin->info['plugin_sku']}' target='_blank'>"'.216
- Category
- Security
- Occurrences
- 216
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"&utm_term={$cur_plugin->info['plugin_sku']}' target='_blank'>"'.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$banner".113
- Category
- Maintainability
- Occurrences
- 113
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$banner".
WARNINGSecurityRequest data is not unslashed$_GET['brfeature_description'] not unslashed before sanitization. Use wp_unslash() or similar75
- Category
- Security
- Occurrences
- 75
- Severity
- warning
Sample message
$_GET['brfeature_description'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.63
- Category
- Security
- Occurrences
- 63
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['brfeature_description']63
- Category
- Security
- Occurrences
- 63
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['brfeature_description']
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;44
- Category
- Maintainability
- Occurrences
- 44
- 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'.36
- Category
- Security
- Occurrences
- 36
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.36
- Category
- Security
- Occurrences
- 36
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo $feature ..." but found "<?= $feature ..."24
- Category
- Maintainability
- Occurrences
- 24
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo $feature ..." but found "<?= $feature ..."
Show 15 moreShow less
WARNINGMaintainabilityNon-prefixed function20
- Category
- Maintainability
- Occurrences
- 20
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "BR_woocommerce_json_search_found_products".
WARNINGSecurityInput is not validated20
- Category
- Security
- Occurrences
- 20
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['backup']. Check that the array index exists before using it.
WARNINGMaintainabilityMissing Version15
- Category
- Maintainability
- Occurrences
- 15
- 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.
WARNINGMaintainabilityDynamic hook name13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$hook_name . '_check_type_' . $condition['type']".
ERRORMaintainabilityOffloaded Content10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- error
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
WARNINGMaintainabilityNon-prefixed hook name8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "ce_widget_title".
WARNINGMaintainabilityNot In Footer7
- Category
- Maintainability
- Occurrences
- 7
- 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.
ERRORI18nNon Singular String Literal Text7
- Category
- I18n
- Occurrences
- 7
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $feature['label']
ERRORMaintainabilitydate date5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORI18nMissing Arg Domain5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityNon-prefixed constant4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "BR_EE_HIDDEN".
ERRORI18nMissing Translators Comment4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
A function call to __() 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.
WARNINGMaintainabilityslow db query meta key3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGMaintainabilityerror log print r3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
ERRORMaintainabilitystrip tags strip tags3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
Score History
First score snapshot
v3.1.1.7
24
Latest
- Findings
- 1,070
- Errors
- 614
- Warnings
- 456
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 1,070 | 614 | 456 | v3.1.1.7 | 2.0.0 |