A simplistic plugin for excluding shipping methods based on multiple rules such as shipping class, package weight and cart totals.
Prioritized issue groups from the latest Plugin Check scan
I18n
210
4 issue groups
Security
104
6 issue groups
Maintainability
50
12 issue groups
Sample message
Mismatched text domain. Expected 'wc-restricted-shipping-and-payment' but got 'cmb2'.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$a['desc']'.
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.
Sample message
Function "apply_filters_deprecated()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 4.0.0.
Sample message
Missing $domain parameter in function call to __().
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field'.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "deprecated_argument_run".
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
Processing form data without nonce verification.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter".
Sample message
Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.
Sample message
File and folder names must not contain spaces or special characters.
Sample message
Sanitization missing for register_setting().
Sample message
Detected usage of meta_query, possible slow query.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PW_CMB2_Field_Select2".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "new_cmb2_box".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pw_cmb2_field_select2".
Sample message
Detected usage of a non-sanitized input variable: $_GET['post_type']
Sample message
$_GET['post_type'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "restricted-shipping-and-payment-for-woocommerce", expected "wc-restricted-shipping-and-payment".
Sample message
The plugin slug includes a restricted term. Your plugin slug - "wc-restricted-shipping-and-payment" - contains the restricted term "wc" which cannot be used at all in your plugin slug.
Potential connections found in static code analysis.
Outbound calls
126
External assets
0
Incoming endpoints
3
No external asset domains detected.
wp_ajax
wp_ajax
wp_ajax
2 score snapshots
v1.0.16
36
Latest
v1.0.15
35
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 364 | 337 | 27 | v1.0.16 | 2.0.0 |
| 35 | 365 | 338 | 27 | v1.0.15 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.