Set your WooCommerce products to redirect to a custom URL when added to the cart.
Prioritized issue groups from the latest Plugin Check scan
I18n
19
3 issue groups
Security
19
6 issue groups
Maintainability
7
5 issue groups
Repo Compliance
1
1 issue group
Sample message
Mismatched text domain. Expected 'woocommerce-add-to-cart-custom-redirect' but got 'woocommerce-add-to-cart-redirect'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_locale".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$key'.
Sample message
Processing form data without nonce verification.
Sample message
Processing form data without nonce verification.
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
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args".
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
Sample message
$_POST[$key] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Plugin name "Add to Cart Custom Redirect for WooCommerce" is different from the name declared in plugin header "Add-to-Cart Custom Redirect for WooCommerce".
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 "Text Domain" header in the plugin file does not match the slug. Found "woocommerce-add-to-cart-redirect", expected "woocommerce-add-to-cart-custom-redirect".
Sample message
The plugin slug includes a restricted term. Your plugin slug - "woocommerce-add-to-cart-custom-redirect" - 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.
Not analyzed yet.
First score snapshot
v1.2.14
52
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 52 | 46 | 33 | 13 | v1.2.14 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.