WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound
Non-prefixed class
The plugin defines a class 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 class 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 | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #851 | Travel Booking Toolkit | 30 | 245 | 324 | 3k+ | Non Prefixed Variable Found | |
| #852 | Travelers' Map | 30 | 311 | 155 | 1k+ | Output Not Escaped | |
| #853 | Tutor LMS Divi Modules | 30 | 420 | 722 | 1k+ | Non Prefixed Variable Found | |
| #854 | Urvanov Syntax Highlighter | 30 | 221 | 87 | 3k+ | Output Not Escaped | |
| #855 | User Role by BestWebSoft – Add and Customize Roles and Capabilities in WordPress | 30 | 484 | 280 | 3k+ | Text Domain Mismatch | |
| #856 | UX Flat | 30 | 539 | 203 | 1k+ | Missing Arg Domain | |
| #857 | Checkout with Cash App on WooCommerce | 30 | 122 | 308 | 2k+ | Non Prefixed Variable Found | |
| #858 | FOX – Currency Switcher Professional for WooCommerce | 30 | 211 | 1,022 | 50k+ | Non Prefixed Variable Found | |
| #859 | WooCommerce Stripe Payment Gateway | 30 | 173 | 591 | 700k+ | Non Prefixed Hookname Found | |
| #860 | WooPayments: Integrated WooCommerce Payments | 30 | 177 | 298 | 900k+ | Exception Not Escaped | |
| #861 | WooCommerce Tax (formerly WooCommerce Shipping & Tax) | 30 | 103 | 198 | 600k+ | Non Prefixed Class Found | |
| #862 | WP 2FA – Two-factor authentication for WordPress | 30 | 269 | 380 | 100k+ | Exception Not Escaped | |
| #863 | WP Admin UI Customize | 30 | 629 | 390 | 30k+ | Non Prefixed Variable Found | |
| #864 | WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into Event Calendar | 30 | 113 | 419 | 1k+ | Non Prefixed Variable Found | |
| #865 | WPZOOM Addons for Beaver Builder | 30 | 2,216 | 152 | 4k+ | Text Domain Mismatch | |
| #866 | Yaad Sarig Payment Gateway For WC | 30 | 158 | 271 | 2k+ | Recommended | |
| #867 | YITH Pre-Order for WooCommerce | 30 | 397 | 1,464 | 6k+ | Non Prefixed Variable Found | |
| #868 | YITH WooCommerce Popup | 30 | 395 | 1,551 | 2k+ | Non Prefixed Variable Found | |
| #869 | YITH WooCommerce Product Slider Carousel | 30 | 389 | 1,479 | 4k+ | Non Prefixed Variable Found | |
| #870 | zahls.ch Credit Cards, PostFinance and TWINT for WooCommerce | 30 | 121 | 265 | 3k+ | Non Prefixed Variable Found | |
| #871 | a3 Lazy Load | 31 | 83 | 240 | 90k+ | Dynamic Hookname Found | |
| #872 | ActiveCampaign – The autonomous marketing platform | 31 | 235 | 98 | 40k+ | Output Not Escaped | |
| #873 | AEH Speed Optimization: Browser Cache, Optimized Minify, Lazy Loading & Image Optimization | 31 | 91 | 133 | 2k+ | Output Not Escaped | |
| #874 | Apaczka.pl WooCommerce | 31 | 99 | 276 | 1k+ | Non Prefixed Variable Found | |
| #875 | Asgaros Forum | 31 | 167 | 412 | 10k+ | Output Not Escaped | |
| #876 | CleverReach® WP | 31 | 103 | 93 | 4k+ | Non Prefixed Variable Found | |
| #877 | Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code | 31 | 525 | 131 | 10k+ | Text Domain Mismatch | |
| #878 | Customer Email Verification for WooCommerce | 31 | 192 | 290 | 2k+ | Non Prefixed Variable Found | |
| #879 | EnvoThemes Demo Import | 31 | 221 | 140 | 3k+ | Output Not Escaped | |
| #880 | GS Pinterest Portfolio – Pins Grid, Masonry, User Profile, Popup & Board Widgets | 31 | 402 | 156 | 1k+ | Text Domain Mismatch | |
| #881 | HT Easy GA4 – Google Analytics WordPress Plugin | 31 | 475 | 93 | 6k+ | Text Domain Mismatch | |
| #882 | Easy HTTPS Redirection (SSL) | 31 | 224 | 100 | 100k+ | Unsafe Printing Function | |
| #883 | Mailgun for WordPress | 31 | 144 | 78 | 80k+ | Unsafe Printing Function | |
| #884 | Melapress Login Security | 31 | 69 | 278 | 2k+ | Non Prefixed Variable Found | |
| #885 | Openpay Cards Plugin | 31 | 166 | 105 | 3k+ | Text Domain Mismatch | |
| #886 | Patreon WordPress | 31 | 276 | 339 | 3k+ | Output Not Escaped | |
| #887 | Portfolio, Gallery, Product Catalog – Grid KIT Portfolio | 31 | 61 | 329 | 6k+ | Non Prefixed Variable Found | |
| #888 | Product Configurator for WooCommerce | 31 | 41 | 557 | 3k+ | Non Prefixed Hookname Found | |
| #889 | Qode Essential Addons | 31 | 55 | 295 | 10k+ | Non Prefixed Variable Found | |
| #890 | Query Monitor | 31 | 44 | 273 | 200k+ | Non Prefixed Class Found | |
| #891 | SmartBill Facturare si Gestiune | 31 | 421 | 164 | 5k+ | Text Domain Mismatch | |
| #892 | Swatchly – Product Variation Swatches for WooCommerce | 31 | 540 | 214 | 5k+ | Output Not Escaped | |
| #893 | WP Testimonials | 31 | 183 | 455 | 10k+ | Non Prefixed Variable Found | |
| #894 | Big File Uploads – Increase Maximum File Upload Size | 31 | 101 | 92 | 100k+ | Output Not Escaped | |
| #895 | Ultimate Posts Widget | 31 | 309 | 86 | 10k+ | Output Not Escaped | |
| #896 | Blacklist Manager – WooCommerce Anti-Fraud, Blacklist & Checkout Verification | 31 | 284 | 830 | 2k+ | Missing | |
| #897 | Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets | 31 | 837 | 295 | 100k+ | Unsafe Printing Function | |
| #898 | WooCommerce Legacy REST API | 31 | 324 | 177 | 400k+ | Missing Translators Comment | |
| #899 | Tooltips for WordPress | 31 | 312 | 252 | 5k+ | Output Not Escaped | |
| #900 | WPGatsby | 31 | 125 | 55 | 3k+ | Text Domain Mismatch |