Royal Mail Shipping Calculator for WooCommerce is a WordPress Plugin that integrate the Royal Mail service.
Prioritized issue groups from the latest Plugin Check scan
Security
41
7 issue groups
I18n
33
4 issue groups
Maintainability
16
7 issue groups
Repo Compliance
2
2 issue groups
Sample message
Mismatched text domain. Expected 'royal-mail-woocommerce-shipping-calculator' but got 'wc-royal-mail'.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['woocommerce_wpruby_royalmail_default_height']. Check that the array index exists before using it.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Item '{$item->getDescription()}' is too large to fit into any box"'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='error'><p>$message $link</p></div>"'.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$current_user_id".
Sample message
Detected usage of a non-sanitized input variable: $_POST['woocommerce_wpruby_royalmail_default_height']
Sample message
$_POST['woocommerce_wpruby_royalmail_default_height'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
Missing $domain parameter in function call to __().
Sample message
The $text parameter must be a single text string literal. Found: "Weight unit: ".$weight_unit."<br> This weight will only be used if the product\s weight are not set in the edit product's page."
Sample message
Tested up to: 6.9 < 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.
Sample message
The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages"
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "wc-royal-mail", expected "royal-mail-woocommerce-shipping-calculator".
Sample message
The plugin slug includes a restricted term. Your plugin slug - "royal-mail-woocommerce-shipping-calculator" - contains the restricted term "woocommerce" which cannot be used within in your plugin slug, unless your plugin slug contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your plugin slug.
Potential connections found in static code analysis.
Outbound calls
11
External assets
2
Incoming endpoints
1
No public endpoints detected.
wp_ajax
First score snapshot
v1.9.10
39
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 39 | 92 | 61 | 31 | v1.9.10 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.