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 | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #2701 | Envíos Coordinadora Woocommerce (Oficial) – WordPress plugin | 85 | 11 | 11 | 600 | Missing Arg Domain | ||
| #2702 | MyCryptoCheckout – Bitcoin, Ethereum, and 100+ altcoins for WooCommerce | 85 | 6 | 7 | 8k+ | Missing Translators Comment | ||
| #2703 | News Element Elementor Blog Magazine | 85 | 174 | 695 | 400 | Non-prefixed global variable | ||
| #2704 | Payment Integration Wompi | 85 | 44 | 11 | 1k+ | Missing Arg Domain | ||
| #2705 | Portfolios | 85 | 10 | 2 | 700 | Output is not escaped | ||
| #2706 | Remove Footer Credit | 85 | 7 | 31 | 70k+ | Non-prefixed global variable | ||
| #2707 | Review widget addon for Elementor | 85 | 8 | 9 | 1k+ | Non-prefixed function | ||
| #2708 | Social Share Button | 85 | 1 | 707 | 1k+ | Non-prefixed global variable | ||
| #2709 | States, Cities, and Places for WooCommerce | 85 | 101 | 192 | 6k+ | Non-prefixed global variable | ||
| #2710 | Notification for WooCommerce | Boost Your Sales – Recent Sales Popup – Live Feed Sales – Upsells | 85 | 9 | 35 | 6k+ | Non-prefixed constant | ||
| #2711 | Flexible Map | 85 | 10 | 7 | 7k+ | Non-prefixed class | ||
| #2712 | WPC Estimated Delivery Date for WooCommerce | 85 | 67 | 10k+ | Non-prefixed global variable | |||
| #2713 | WPC Variations Table for WooCommerce | 85 | 34 | 400 | Non-prefixed hook name | |||
| #2714 | Yuma Companion | 85 | 10 | 7 | 400 | Missing direct file access protection | ||
| #2715 | Advanced Queries | 86 | 6 | 11 | 10k+ | Non-prefixed constant | ||
| #2716 | Astra Widgets | 86 | 10 | 15 | 200k+ | Missing direct file access protection | ||
| #2717 | Catch Breadcrumb | 86 | 1 | 29 | 2k+ | Non-prefixed global variable | ||
| #2718 | CBX User Online & Last Login | 86 | 3 | 87 | 800 | Non-prefixed global variable | ||
| #2719 | Custom Error Messages for Gravity Forms | 86 | 3 | 4 | 400 | Output is not escaped | ||
| #2720 | Extra Styling for MemberPress | 86 | 64 | 7 | 500 | Text Domain Mismatch | ||
| #2721 | FormsCRM – Connect Forms to CRM directly | 86 | 5 | 8 | 1k+ | Missing direct file access protection | ||
| #2722 | Getnet Argentina para WooCommerce | 86 | 14 | 9 | 500 | Text Domain Mismatch | ||
| #2723 | Latest Posts Block – Dynamic Posts Grid, Posts List, Posts Tile with Stunning Layouts for WordPress Blogs & Pages | 86 | 9 | 8 | 7k+ | Missing Version | ||
| #2724 | Magni Image Flip For WooCommerce | 86 | 24 | 8 | 700 | Text Domain Mismatch | ||
| #2725 | Modern Cart – WooCommerce Side Cart & Popup Cart | 86 | 8 | 95 | 50k+ | Non-prefixed global variable | ||
| #2726 | Ocean Product Sharing | 86 | 9 | 18 | 20k+ | Non-prefixed global variable | ||
| #2727 | PDF for Elementor Forms + Drag And Drop Template Builder | 86 | 668 | 31 | 1k+ | wp function not compatible with requires wp | ||
| #2728 | Product Enquiry for WooCommerce (Now with AI Assistant) | 86 | 6 | 146 | 10k+ | Non-prefixed global variable | ||
| #2729 | Unlimited Theme Addon For Elementor | 86 | 74 | 68 | 600 | Missing direct file access protection | ||
| #2730 | WC MyParcel Belgium | 86 | 340 | 79 | 600 | Text Domain Mismatch | ||
| #2731 | Microsoft Azure Storage for WordPress | 86 | 25 | 26 | 2k+ | Missing Translators Comment | ||
| #2732 | WooCommerce Payfast Gateway | 86 | 90 | 47 | 30k+ | Text Domain Mismatch | ||
| #2733 | WP Image Size Limit | 86 | 7 | 6 | 3k+ | Output is not escaped | ||
| #2734 | WP Upload Restriction | 86 | 59 | 16 | 2k+ | Text Domain Mismatch | ||
| #2735 | WPUpper Share Buttons | 86 | 4 | 74 | 4k+ | Dynamic hook name | ||
| #2736 | LocoAI – Auto Translate for Loco Translate | 87 | 10 | 41 | 70k+ | Non-prefixed global variable | ||
| #2737 | Better Addons for Elementor | 87 | 125 | 221 | 4k+ | Non-prefixed global variable | ||
| #2738 | Contact Form 7 Spam Killer | 87 | 1 | 21 | 4k+ | Missing nonce verification | ||
| #2739 | CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice) | 87 | 1 | 291 | 1m+ | Non-prefixed global variable | ||
| #2740 | Customizer Search | 87 | 10 | 1 | 50k+ | Missing direct file access protection | ||
| #2741 | Image Ticker Carousel | by Creavi | 87 | 2 | 17 | 400 | Nonce verification recommended | ||
| #2742 | Last Modified Timestamp | 87 | 9 | 3 | 7k+ | Output is not escaped | ||
| #2743 | Object Cache 4 everyone | 87 | 2 | 65 | 5k+ | Non-prefixed function | ||
| #2744 | Parallax Section Block – Add Parallax Scrolling Effects to Sections. | 87 | 3 | 22 | 3k+ | Non-prefixed global variable | ||
| #2745 | Security Header Generator | 87 | 10 | 20 | 500 | Non Singular String Literal Text | ||
| #2746 | Simple Footnotes | 87 | 11 | 1 | 600 | wp function not compatible with requires wp | ||
| #2747 | Slide-out Menu – Mobile Friendly modern navigation | 87 | 5 | 22 | 500 | Non-prefixed global variable | ||
| #2748 | Invoice Payment Gateway for WooCommerce | 87 | 5 | 4 | 2k+ | Output is not escaped | ||
| #2749 | Coupon Box for WooCommerce | 87 | 11 | 85 | 1k+ | Non-prefixed global variable | ||
| #2750 | Related Products – Create Upsells, Cross-sells, and Product Recommendations for WooCommerce | 87 | 79 | 446 | 10k+ | Non-prefixed global variable |