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 |
|---|---|---|---|---|---|---|---|
| #901 | WP Simple Booking Calendar | 31 | 337 | 381 | 20k+ | Output Not Escaped | |
| #902 | WP ULike – Like & Dislike Buttons for Engagement and Feedback | 31 | 268 | 345 | 60k+ | Output Not Escaped | |
| #903 | Hosting Benchmark tool | 31 | 202 | 115 | 4k+ | rand rand | |
| #904 | YITH Color and Label Variations for WooCommerce | 31 | 393 | 1,428 | 9k+ | Non Prefixed Variable Found | |
| #905 | YITH WooCommerce Brands Add-On | 31 | 393 | 1,425 | 9k+ | Non Prefixed Variable Found | |
| #906 | YITH WooCommerce Catalog Mode | 31 | 380 | 1,418 | 60k+ | Non Prefixed Variable Found | |
| #907 | YITH WooCommerce Featured Video | 31 | 383 | 1,434 | 3k+ | Non Prefixed Variable Found | |
| #908 | YITH Frequently Bought Together for WooCommerce | 31 | 389 | 1,452 | 8k+ | Non Prefixed Variable Found | |
| #909 | YITH WooCommerce Order & Shipment Tracking | 31 | 380 | 1,420 | 7k+ | Non Prefixed Variable Found | |
| #910 | YITH Request a Quote for WooCommerce | 31 | 408 | 1,481 | 10k+ | Non Prefixed Variable Found | |
| #911 | YITH WooCommerce Tab Manager | 31 | 395 | 1,429 | 4k+ | Non Prefixed Variable Found | |
| #912 | YML for Yandex Market | 31 | 37 | 293 | 10k+ | Non Prefixed Variable Found | |
| #913 | Admin Menu Editor | 32 | 159 | 233 | 300k+ | Non Prefixed Variable Found | |
| #914 | Affiliate Coupons – Coupon Display Manager – Excellent Tool for Affiliate Marketers | 32 | 183 | 61 | 1k+ | Output Not Escaped | |
| #915 | Aqua Page Builder | 32 | 320 | 114 | 3k+ | Output Not Escaped | |
| #916 | Arile Super | 32 | 328 | 351 | 3k+ | Non Prefixed Variable Found | |
| #917 | Author Avatars List/Block | 32 | 85 | 135 | 4k+ | Non Prefixed Hookname Found | |
| #918 | Auto YouTube Importer | 32 | 338 | 173 | 1k+ | Text Domain Mismatch | |
| #919 | Blog2Social: Social Media Auto Post & Scheduler | 32 | 7 | 955 | 50k+ | Direct Query | |
| #920 | Bosa Elementor Addons and Templates for WooCommerce | 32 | 40 | 165 | 20k+ | slow db query tax query | |
| #921 | BuddyPress for LearnDash | 32 | 190 | 284 | 1k+ | Output Not Escaped | |
| #922 | Addi – Cuotas que se adaptan a ti | 32 | 106 | 210 | 2k+ | Direct Query | |
| #923 | Child Theme Configurator | 32 | 442 | 267 | 300k+ | Unsafe Printing Function | |
| #924 | Vimeotheque – Vimeo WordPress Plugin & Video Gallery | 32 | 642 | 264 | 2k+ | Unsafe Printing Function | |
| #925 | Currency Switcher for WooCommerce | 32 | 357 | 263 | 10k+ | Text Domain Mismatch | |
| #926 | GSheetConnector for Gravity Forms – Send Gravity Forms Entries to Google Sheets in Real-Time | 32 | 37 | 349 | 1k+ | Non Prefixed Variable Found | |
| #927 | GSheetConnector For WPForms – WPForms Google Sheets Integration (Real-Time Sync) | 32 | 120 | 145 | 8k+ | Non Prefixed Variable Found | |
| #928 | Gwolle Guestbook | 32 | 268 | 528 | 20k+ | Output Not Escaped | |
| #929 | Image Slider Slideshow | 32 | 409 | 171 | 2k+ | Text Domain Mismatch | |
| #930 | Organization chart | 32 | 187 | 334 | 5k+ | Not Prepared | |
| #931 | Pagination by BestWebSoft – Customizable WordPress Content Splitter and Navigation Plugin | 32 | 446 | 173 | 5k+ | Text Domain Mismatch | |
| #932 | DEPRECATED – Shipmondo – A complete shipping solution for WooCommerce | 32 | 166 | 119 | 5k+ | Output Not Escaped | |
| #933 | Account Engagement | 32 | 115 | 74 | 2k+ | Output Not Escaped | |
| #934 | گرویتی فرم فارسی | 32 | 190 | 174 | 20k+ | Text Domain Mismatch | |
| #935 | Revolut Gateway for WooCommerce | 32 | 85 | 157 | 6k+ | Input Not Sanitized | |
| #936 | Shariff Wrapper | 32 | 33 | 404 | 30k+ | Non Prefixed Variable Found | |
| #937 | Page Builder by SiteOrigin | 32 | 224 | 212 | 500k+ | Output Not Escaped | |
| #938 | Sky Addons for Elementor | 32 | 85 | 351 | 2k+ | Non Prefixed Namespace Found | |
| #939 | Split Test For Elementor | 32 | 98 | 132 | 3k+ | Non Prefixed Variable Found | |
| #940 | Stock Sync for WooCommerce | 32 | 362 | 232 | 1k+ | Text Domain Mismatch | |
| #941 | Thrive Automator | 32 | 84 | 84 | 10k+ | Not Prepared | |
| #942 | Secure Client Portal and Private File Sharing Plugin – User Private Files | 32 | 183 | 510 | 1k+ | Non Prefixed Variable Found | |
| #943 | WP 2-step verification | 32 | 154 | 65 | 1k+ | Output Not Escaped | |
| #944 | WP-Stats | 32 | 237 | 126 | 2k+ | Output Not Escaped | |
| #945 | Privacy Policy Generator – WPLP Legal Pages | 32 | 26 | 396 | 10k+ | Non Prefixed Variable Found | |
| #946 | YITH Infinite Scrolling | 32 | 387 | 1,417 | 10k+ | Non Prefixed Variable Found | |
| #947 | YITH WooCommerce Badge Management | 32 | 413 | 1,446 | 10k+ | Non Prefixed Variable Found | |
| #948 | YITH WooCommerce Compare | 32 | 422 | 1,508 | 100k+ | Non Prefixed Variable Found | |
| #949 | YITH WooCommerce Quick View | 32 | 388 | 1,420 | 90k+ | Non Prefixed Variable Found | |
| #950 | Advanced Custom Fields: Typography Field | 33 | 445 | 57 | 4k+ | Text Domain Mismatch |