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 |
|---|---|---|---|---|---|---|---|---|
| #2651 | Confirm Plus Contact Form 7 | 82 | 10 | 15 | 7k+ | Non Singular String Literal Domain | ||
| #2652 | Gallery for Google Photos – Import and Showcase Photo Albums | 82 | 2 | 16 | 1k+ | Input is not validated | ||
| #2653 | Image Gallery Block | 82 | 13 | 10 | 3k+ | wp function not compatible with requires wp | ||
| #2654 | Infobox | 82 | 15 | 12 | 1k+ | file system operations mkdir | ||
| #2655 | OpenPix for WooCommerce | 82 | 69 | 28 | 500 | wp function not compatible with requires wp | ||
| #2656 | Parallax Slider Block | 82 | 15 | 12 | 900 | file system operations mkdir | ||
| #2657 | PixTypes | 82 | 178 | 9k+ | Non-prefixed global variable | |||
| #2658 | Image Slider Block | 82 | 13 | 14 | 3k+ | wp function not compatible with requires wp | ||
| #2659 | SnapWidget Social Photo Feed Widget | 82 | 9 | 9 | 600 | Output is not escaped | ||
| #2660 | Sucuri Security – Auditing, Malware Scanner and Security Hardening | 82 | 51 | 11 | 600k+ | Missing direct file access protection | ||
| #2661 | Super Web Share – Native Social Sharing Button | 82 | 24 | 19 | 2k+ | Non-prefixed function | ||
| #2662 | Testimonial Block | 82 | 13 | 12 | 500 | wp function not compatible with requires wp | ||
| #2663 | Search Insights – Privacy-Friendly Search Analytics | 82 | 7 | 50 | 3k+ | Non-prefixed global variable | ||
| #2664 | Xpro Theme Builder For Elementor – FREE | 82 | 14 | 28 | 10k+ | Missing direct file access protection | ||
| #2665 | Advanced Appointment Booking & Scheduling | 83 | 11 | 13 | 3k+ | Text Domain Mismatch | ||
| #2666 | Integration of Bitrix24 with Contact Form 7 | 83 | 14 | 40 | 600 | Non-prefixed function | ||
| #2667 | Check Conflicts | 83 | 36 | 12 | 1k+ | Missing Arg Domain | ||
| #2668 | dLocal Go Payments | 83 | 9 | 15 | 400 | Missing Translators Comment | ||
| #2669 | HREFLANG Tags Management By Webnow | 83 | 2 | 34 | 600 | Non-prefixed global variable | ||
| #2670 | Mailster SendGrid Integration | 83 | 23 | 3 | 1k+ | Missing Translators Comment | ||
| #2671 | Make Disable Admin Email Verification Prompt| Aims Infosoft | 83 | 10 | 4 | 2k+ | Text Domain Mismatch | ||
| #2672 | Add menu separators to navigation | 83 | 8 | 7 | 900 | Non-prefixed hook name | ||
| #2673 | Easy Photography Portfolio | 83 | 38 | 33 | 2k+ | Missing direct file access protection | ||
| #2674 | Post Views for Jetpack | 83 | 12 | 3 | 1k+ | Output is not escaped | ||
| #2675 | Lightweight Sidebar Manager | 83 | 13 | 36 | 80k+ | Non-prefixed class | ||
| #2676 | Team Section Block – Showcase Team Members with Layout Options | 83 | 1 | 21 | 1k+ | Non-prefixed namespace | ||
| #2677 | WPC AJAX Search for WooCommerce | 83 | 1 | 29 | 1k+ | Nonce verification recommended | ||
| #2678 | WPC Order Tip for WooCommerce | 83 | 55 | 1k+ | Non-prefixed global variable | |||
| #2679 | Image Gallery Block | 84 | 9 | 22 | 2k+ | Non-prefixed global variable | ||
| #2680 | Campo RUT para CF7 | 84 | 6 | 7 | 600 | Missing nonce verification | ||
| #2681 | ClickShip | 84 | 13 | 5 | 1k+ | Output is not escaped | ||
| #2682 | Enable Turnstile (Cloudflare) for Gravity Forms | 84 | 8 | 7 | 700 | Missing direct file access protection | ||
| #2683 | Floating Button – Easily Create Sticky, Fixed & Floating Buttons | 84 | 6 | 184 | 4k+ | Non-prefixed global variable | ||
| #2684 | HHG for TranslatePress | 84 | 43 | 18 | 800 | curl curl setopt | ||
| #2685 | JWT Authentication for WP REST API | 84 | 27 | 41 | 60k+ | wp function not compatible with requires wp | ||
| #2686 | LearnPress – Prerequisites Courses | 84 | 8 | 14 | 6k+ | Non-prefixed constant | ||
| #2687 | Mailster reCaptcha | 84 | 4 | 15 | 1k+ | Missing nonce verification | ||
| #2688 | Nav Menu Roles | 84 | 3 | 18 | 70k+ | Non-prefixed hook name | ||
| #2689 | Video Gallery YouTube Vimeo with Youtube API | 84 | 2 | 181 | 1k+ | Non-prefixed global variable | ||
| #2690 | Ocean Social Sharing | 84 | 10 | 36 | 60k+ | Non-prefixed global variable | ||
| #2691 | SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster | 84 | 9 | 17 | 8k+ | Non-prefixed class | ||
| #2692 | Timeline Module for Divi | 84 | 16 | 11 | 3k+ | Text Domain Mismatch | ||
| #2693 | Upload SVG | 84 | 3 | 8 | 1k+ | Non-prefixed global variable | ||
| #2694 | Username Changer | 84 | 37 | 13 | 40k+ | wp function not compatible with requires wp | ||
| #2695 | Ultra Addons Lite for Elementor | 84 | 30 | 18 | 700 | wp function not compatible with requires wp | ||
| #2696 | Ventus – Weather Map Widget & Shortcode | 84 | 88 | 3 | 3k+ | Text Domain Mismatch | ||
| #2697 | WP PDF Generator | 84 | 21 | 22 | 1k+ | Request data is not unslashed | ||
| #2698 | WPB Accordion Menu – Collapsible Vertical Sidebar Menu – WooCommerce Category Accordion | 84 | 5 | 59 | 10k+ | Non-prefixed hook name | ||
| #2699 | Pay with LINE Pay | 84 | 12 | 10 | 700 | Missing Translators Comment | ||
| #2700 | WPC Grouped Product for WooCommerce | 84 | 45 | 3k+ | Nonce verification recommended |