Restrict your WooCommerce shop products to be purchasable only to specific countries!
Prioritized issue groups from the latest Plugin Check scan
Security
63
5 issue groups
Maintainability
15
8 issue groups
I18n
9
3 issue groups
Repo Compliance
1
1 issue group
Sample message
$_COOKIE['country'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Processing form data without nonce verification.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_POST[$key]
Sample message
Mismatched text domain. Expected 'woo-product-country-base-restrictions' but got 'fast-user-switching'.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
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.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$dismissable_url'.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
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.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
The $text parameter must be a single text string literal. Found: 'CBR Country: ' . WC()->countries->countries[$fzpcr->restriction->get_country()]
Sample message
Tested up to: 7.0.2 The version number should only include major versions 7.0.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Sample message
The plugin slug includes a restricted term. Your plugin slug - "woo-product-country-base-restrictions" - contains the restricted term "woo" and cannot be used to begin your plugin slug. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "woo" elsewhere in your plugin slug, such as "... for woo".
Sample message
Function "wp_get_environment_type()" requires WordPress 5.5.0, but your plugin minimum supported version is WordPress 5.3.0.
Potential connections found in static code analysis.
Outbound calls
246
External assets
1
Incoming endpoints
5
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
3 score snapshots
v3.8.0
40
Latest
v3.7.9
41
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 40 | 88 | 20 | 68 | v3.8.0 | 2.0.0 |
| 41 | 94 | 27 | 67 | v3.7.9 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.