WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
Non-prefixed global variable
The plugin defines a global variable 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 global variable 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 |
|---|---|---|---|---|---|---|---|---|
| #4501 | WowShipping – Weight Based Table Rate Shipping with Live Rates for UPS, USPS, DHL | 90 | 26 | 19 | 500 | Text Domain Mismatch | ||
| #4502 | WP BrowserUpdate | 90 | 11 | 7 | 1k+ | Missing Translators Comment | ||
| #4503 | WP Event Manager – Events Calendar, Registrations, Sell Tickets with WooCommerce | 90 | 20 | 20k+ | Non-prefixed function | |||
| #4504 | Zen Addons for SiteOrigin Page Builder | 90 | 1,488 | 129 | 1k+ | Text Domain Mismatch | ||
| #4505 | Advanced Cron Manager – debug & control | 91 | 30 | 90 | 30k+ | Non-prefixed global variable | ||
| #4506 | Clio Grow Form | 91 | 179 | 19 | 1k+ | Text Domain Mismatch | ||
| #4507 | CTA Button Styler | 91 | 3 | 39 | 400 | Non-prefixed global variable | ||
| #4508 | Custom iFrame – Embed PDFs, Videos, and External Content in WordPress (Elementor & Gutenberg) | 91 | 13 | 5 | 3k+ | wp function not compatible with requires wp | ||
| #4509 | Di Blocks – Awesome WordPress Blocks for Gutenberg Editor | 91 | 7 | 3 | 1k+ | Missing direct file access protection | ||
| #4510 | Nút Bấm Liên Hệ Dibrother | 91 | 5 | 2 | 900 | Missing Arg Domain | ||
| #4511 | Disable WordPress Update Notifications and auto-update Email Notifications | 91 | 2 | 12 | 10k+ | Nonce verification recommended | ||
| #4512 | GTM4WP – A Google Tag Manager (GTM) plugin for WordPress | 91 | 59 | 79 | 700k+ | Non-prefixed global variable | ||
| #4513 | Gutentools | 91 | 17 | 10 | 4k+ | Missing direct file access protection | ||
| #4514 | Helio Pay (Accept 1-click crypto payments #USDC #SOL #BTC #ETH) | 91 | 8 | 11 | 500 | Missing direct file access protection | ||
| #4515 | LegalBlink for Aruba | 91 | 33 | 29 | 7k+ | Missing direct file access protection | ||
| #4516 | Link Juice Keeper | 91 | 4 | 36 | 10k+ | Non-prefixed hook name | ||
| #4517 | matchHeight | 91 | 6 | 2 | 2k+ | Non-prefixed global variable | ||
| #4518 | MC4WP: WPML Integration | 91 | 7 | 9 | 2k+ | Missing direct file access protection | ||
| #4519 | Mesmerize Companion | 91 | 27 | 91 | 50k+ | Non-prefixed global variable | ||
| #4520 | Shipping Live Rates for Royal Mail for WooCommerce | 91 | 4 | 13 | 400 | Non-prefixed global variable | ||
| #4521 | Ollie Menu Designer | 91 | 45 | 4k+ | Non-prefixed global variable | |||
| #4522 | Remove Image Links | 91 | 5 | 10 | 800 | Non-prefixed function | ||
| #4523 | Restricted Site Access | 91 | 14 | 11 | 10k+ | Missing Arg Domain | ||
| #4524 | SearchWP Modal Search Form | 91 | 9 | 9 | 5k+ | trademarked term | ||
| #4525 | Sensei LMS Post to Course Creator | 91 | 6 | 7 | 1k+ | Missing Translators Comment | ||
| #4526 | Serbian Addons for WooCommerce | 91 | 34 | 13 | 600 | Text Domain Mismatch | ||
| #4527 | Simple Google Analytics Tracking | 91 | 6 | 2 | 1k+ | Missing direct file access protection | ||
| #4528 | Slivery Extender | 91 | 557 | 11 | 1k+ | Text Domain Mismatch | ||
| #4529 | Snow Monkey Forms | 91 | 36 | 41 | 30k+ | Non-prefixed global variable | ||
| #4530 | Widgets for Social Photo Feed | 91 | 1 | 147 | 10k+ | Non-prefixed global variable | ||
| #4531 | Sticky Banner | 91 | 2 | 17 | 700 | Non-prefixed global variable | ||
| #4532 | eMagicOne Store Manager for WooCommerce | 91 | 6 | 19 | 500 | Non-prefixed class | ||
| #4533 | Responsive Team Members Showcase, Team Grid, Team Slider, and Staff List – Smart Team (formerly WP Team) | 91 | 4 | 372 | 5k+ | Non-prefixed global variable | ||
| #4534 | Themebeez Toolkit | 91 | 26 | 78 | 9k+ | Non-prefixed class | ||
| #4535 | Tumblr Importer | 91 | 7 | 9 | 10k+ | wp function not compatible with requires wp | ||
| #4536 | WebAuthn Provider for Two Factor | 91 | 6 | 14 | 1k+ | Missing Arg Domain | ||
| #4537 | Unveil Lazy Load | 91 | 2 | 6 | 2k+ | error log error log | ||
| #4538 | VenoBox Lightbox | 91 | 11 | 4 | 1k+ | Text Domain Mismatch | ||
| #4539 | Min Max Quantities – Set Minimum/Maximum Quantity & Price Limits with Step Control for WooCommerce | 91 | 2 | 30 | 10k+ | Non-prefixed hook name | ||
| #4540 | Widgets for Social Post Feed | 91 | 1 | 146 | 400 | Non-prefixed global variable | ||
| #4541 | Advanced Order Export For WooCommerce | 91 | 475 | 100k+ | Non-prefixed hook name | |||
| #4542 | Bootstrap Blocks | 91 | 8 | 30 | 10k+ | Non-prefixed global variable | ||
| #4543 | Commerce7 for WordPress | 91 | 2 | 93 | 1k+ | Non-prefixed global variable | ||
| #4544 | Custom Product Tabs for WooCommerce & WordPress Tabs Builder – Smart Tabs | 91 | 412 | 10k+ | Non-prefixed global variable | |||
| #4545 | WP Mobile Detect | 91 | 4 | 6 | 5k+ | trademarked term | ||
| #4546 | WPBulky – WordPress Bulk Edit Post Types | 91 | 1 | 18 | 400 | Database parameter is not escaped | ||
| #4547 | WPC Custom Related Products for WooCommerce | 91 | 26 | 1k+ | Non-prefixed class | |||
| #4548 | XPS Ship Integration | 91 | 58 | 20 | 1k+ | Text Domain Mismatch | ||
| #4549 | Yivic Easy Live Chat | 91 | 22 | 8 | 1k+ | Non Singular String Literal Domain | ||
| #4550 | DearFlip – PDF Flipbook, 3D Flipbook, PDF embed, PDF viewer | 92 | 10 | 11 | 200k+ | Missing direct file access protection |