WordPress.WP.I18n.MismatchedPlaceholders
Mismatched Placeholders
A translation or text-domain pattern does not match WordPress internationalization expectations.
Why It Shows Up
Plugin Check found missing text domains, mismatched domains, missing translator comments, variable-only strings, placeholder issues, or deprecated translation loading patterns.
Why It Matters
Translation issues make the plugin harder to localize and can break strings for non-English WordPress users.
How to Fix
- Use the plugin slug as the text domain unless the plugin intentionally declares a different one.
- Keep translatable strings literal and move variables into placeholders.
- Add translator comments before strings with placeholders or ambiguous context.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #1 | Premium Addons for Elementor – Powerful Elementor Templates & Widgets | 23 | 206 | 997 | 700k+ | Non Prefixed Hookname Found | |
| #2 | The Events Calendar | 23 | 3,512 | 3,848 | 700k+ | Text Domain Mismatch | |
| #3 | Event Tickets and Registration | 24 | 3,415 | 4,210 | 90k+ | Non Prefixed Variable Found | |
| #4 | Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors | 24 | 369 | 820 | 20k+ | Recommended | |
| #5 | WP Travel Engine – Tour Booking Plugin – Tour Operator Software | 24 | 2,010 | 5,688 | 20k+ | Non Prefixed Variable Found | |
| #6 | WP Travel Engine – Elementor Widgets | Create Travel Booking Website Using WordPress and Elementor | 24 | 5,907 | 2,136 | 10k+ | Text Domain Mismatch | |
| #7 | Smush – Image Optimization, Compression, Lazy Load, WebP & CDN | 25 | 252 | 566 | 1m+ | Non Prefixed Hookname Found | |
| #8 | Travel Booking Toolkit | 30 | 245 | 324 | 3k+ | Non Prefixed Variable Found |