Allows to customize the Add to cart button text in WooCommerce by product type in both archive and single product pages.
Category Scores
Top Issues by Category
i18n63
security35
maintainability3
repo_compliance1
Issues Details
102 issues found in latest scan
Mismatched text domain. Expected 'add-to-cart-button-custom-text' but got 'add-to-cart-custom-text'.
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.
The $text parameter must be a single text string literal. Found: esc_attr ($this->add_to_cart_bookable)
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "EJR_Add_To_Cart".
Sanitization missing for register_setting().
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.
The "Text Domain" header in the plugin file does not match the slug. Found "add-to-cart-custom-text", expected "add-to-cart-button-custom-text".
| Code | Type | Message | Count |
|---|---|---|---|
| WordPress.WP.I18n.TextDomainMismatch | ERROR | Mismatched text domain. Expected 'add-to-cart-button-custom-text' but got 'add-to-cart-custom-text'. | 36 |
| WordPress.Security.EscapeOutput.UnsafePrintingFunction | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. | 23 |
| WordPress.WP.I18n.MissingArgDomain | ERROR | Missing $domain parameter in function call to __(). | 12 |
| WordPress.Security.EscapeOutput.OutputNotEscaped | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'. | 11 |
| WordPress.WP.I18n.NonSingularStringLiteralText | ERROR | The $text parameter must be a single text string literal. Found: esc_attr ($this->add_to_cart_bookable) | 10 |
| WordPress.WP.I18n.MissingTranslatorsComment | ERROR | A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders. | 4 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound | WARNING | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "EJR_Add_To_Cart". | 3 |
| PluginCheck.CodeAnalysis.SettingSanitization.register_settingMissing | ERROR | Sanitization missing for register_setting(). | 1 |
| outdated_tested_upto_header | ERROR | 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. | 1 |
| textdomain_mismatch | WARNING | The "Text Domain" header in the plugin file does not match the slug. Found "add-to-cart-custom-text", expected "add-to-cart-button-custom-text". | 1 |
Latest Snapshot
Findings
102
Errors
98
Warnings
4
Score History
First score snapshot
First scan completed Jun 20, 2026
v4.1.0 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2
Jun 20, 2026
v4.1.0
42
Latest
- Findings
- 102
- Errors
- 98
- Warnings
- 4
- Plugin Check
- 2.0.0
- Model
- 2026.06-mvp-static-v2
| Scan | Score | Findings | Errors | Warnings | Plugin | Plugin Check | Model |
|---|---|---|---|---|---|---|---|
| Jun 20, 2026Latest | 42 | 102 | 98 | 4 | v4.1.0 | 2.0.0 | 2026.06-mvp-static-v2 |