WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedInterfaceFound
Non-prefixed interface
The plugin defines a interface without a plugin-specific prefix.
Why It Shows Up
WordPress loads many plugins in the same PHP runtime. Plugin Check found a global symbol or hook name that is not clearly namespaced to this plugin.
Why It Matters
Unprefixed globals can collide with WordPress core, themes, or other plugins, causing fatal errors, overwritten values, or handlers running in the wrong context.
How to Fix
- Choose a short, unique prefix or namespace based on the plugin slug or vendor name.
- Rename the interface so it cannot collide with code from another plugin.
- For public hooks, document the final hook name and keep it stable after release.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #351 | Phone Orders for WooCommerce | 35 | 1 | 229 | 1k+ | Non-prefixed hook name | ||
| #352 | Custom Body Class | 35 | 39 | 101 | 10k+ | Non-prefixed global variable | ||
| #353 | WP-PageNavi | 35 | 84 | 95 | 500k+ | Non Singular String Literal Domain | ||
| #354 | Sezzle Woocommerce Payment | 37 | 108 | 105 | 1k+ | Text Domain Mismatch | ||
| #355 | Twenty Eleven Theme Extensions | 38 | 35 | 30 | 3k+ | Output is not escaped | ||
| #356 | Wallet for WooCommerce | 39 | 36 | 524 | 20k+ | Non-prefixed hook name | ||
| #357 | WebinarPress – Webinar System for WordPress | 54 | 61 | 499 | 900 | Non-prefixed global variable | ||
| #358 | JetWidgets For Elementor | 55 | 99 | 279 | 10k+ | Non-prefixed global variable | ||
| #359 | Popup Maker – Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder | 55 | 54 | 692 | 700k+ | Non-prefixed hook name | ||
| #360 | Themeflection Numbers – Number Counter and Animated Numbers | 55 | 224 | 73 | 3k+ | Text Domain Mismatch | ||
| #361 | WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance | 56 | 5 | 769 | 1m+ | Non-prefixed global variable | ||
| #362 | Ads.txt Manager | 61 | 33 | 16 | 4k+ | Text Domain Mismatch | ||
| #363 | SEO Image Toolbox | 62 | 19 | 14 | 1k+ | Output is not escaped | ||
| #364 | OpenPix for WooCommerce | 82 | 69 | 28 | 500 | wp function not compatible with requires wp | ||
| #365 | Advanced Order Export For WooCommerce | 91 | 475 | 100k+ | Non-prefixed hook name | |||
| #366 | MB Relationships | 92 | 28 | 1k+ | Non-prefixed class | |||
| #367 | Customify | 95 | 1 | 101 | 10k+ | Non-prefixed global variable | ||
| #368 | Simla.com | 95 | 22 | 58 | 400 | Non-prefixed class | ||
| #369 | PPWP – Password Protect Pages | 98 | 29 | 30k+ | Non-prefixed class |