Displays a 'new' badge on WooCommerce products published in the last x days.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
8
5 issue groups
I18n
5
2 issue groups
Repo Compliance
2
2 issue groups
Security
1
1 issue group
Sample message
Mismatched text domain. Expected 'woocommerce-new-product-badge' but got 'woocommerce-new-badge'.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WooCommerce New Product Badge" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name 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 name.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_init".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
Sample message
Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.
Sample message
Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Tested up to: 4.0 < 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-new-badge", expected "woocommerce-new-product-badge".
Potential connections found in static code analysis.
Outbound calls
3
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
First score snapshot
v0.3.0
91
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 91 | 16 | 8 | 8 | v0.3.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.