Write the custom stock status with different colors for each woocommerce product, to show in product details and listing pages.
Prioritized issue groups from the latest Plugin Check scan
Security
56
5 issue groups
I18n
41
2 issue groups
Maintainability
19
8 issue groups
Repo Compliance
1
1 issue group
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$availability_html'.
Sample message
The $text parameter must be a single text string literal. Found: $availability['availability']
Sample message
Mismatched text domain. Expected 'woo-custom-stock-status' but got 'porto'.
Sample message
Processing form data without nonce verification.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Custom_Stock_status".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wc_wc_add_new_stock_status_html".
Sample message
$_POST[$meta_key] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Processing form data without nonce verification.
Sample message
The upgrade notice for "1.4.8 - 22/03/24" exceeds the limit of 300 characters.
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "UPDATE_META_TAG_YOAST_SEO".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$product".
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Resource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching.
Sample message
Tested up to: 6.7 < 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 plugin slug includes a restricted term. Your plugin slug - "woo-custom-stock-status" - 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 "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.8.0.
Not analyzed yet.
First score snapshot
v1.6.7
41
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 41 | 117 | 84 | 33 | v1.6.7 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.