Displays a 'new' badge on WooCommerce products published in the last x days.
| Code | Message | Location | Category | |
|---|---|---|---|---|
| ERROR | WordPress.Security.EscapeOutput.OutputNotEscaped | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. | 104:58 | Security |
| ERROR | WordPress.WP.I18n.TextDomainMismatch | Mismatched text domain. Expected 'woocommerce-new-product-badge' but got 'woocommerce-new-badge'. | 104:69 | General |
| ERROR | outdated_tested_upto_header | Tested up to: 4.0 < 6.8. 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. | — | Plugin Repo |
| ERROR | license_mismatch | Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier. | — | Plugin Repo |
| ERROR | WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound | Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_init". | 25:5 | Plugin Repo |
| ERROR | WordPress.WP.I18n.TextDomainMismatch | Mismatched text domain. Expected 'woocommerce-new-product-badge' but got 'woocommerce-new-badge'. | 44:52 | General |
| ERROR | WordPress.WP.I18n.TextDomainMismatch | Mismatched text domain. Expected 'woocommerce-new-product-badge' but got 'woocommerce-new-badge'. | 49:63 | General |
| ERROR | WordPress.WP.I18n.TextDomainMismatch | Mismatched text domain. Expected 'woocommerce-new-product-badge' but got 'woocommerce-new-badge'. | 50:90 | General |
| ERROR | WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "woocommerce_new_badge_enqueue_styles". | 87:37 | Plugin Repo |
| ERROR | WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins". | 19:62 | Plugin Repo |
| 15.11.2025, 12:42:29 | 11s | 98 | 10 | 5 |