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 |
|---|---|---|---|---|---|---|---|---|
| #501 | Advanced Booking & Appointment System – Webba Booking Calendar | 23 | 1,618 | 3,378 | 2k+ | Non-prefixed global variable | ||
| #502 | WHMCS Bridge | 23 | 247 | 472 | 4k+ | Nonce verification recommended | ||
| #503 | Widgets on Pages | 23 | 809 | 1,306 | 20k+ | Non-prefixed global variable | ||
| #504 | Billingo Plus integráció WooCommerce-hez | 23 | 1,119 | 507 | 900 | Text Domain Mismatch | ||
| #505 | PostFinance Checkout | 23 | 979 | 214 | 1k+ | Text Domain Mismatch | ||
| #506 | Widgets for WooCommerce Products on Elementor | 23 | 1,659 | 1,454 | 3k+ | Non-prefixed global variable | ||
| #507 | Germanized for WooCommerce | 23 | 222 | 1,054 | 70k+ | Non-prefixed global variable | ||
| #508 | Predictive Search for WooCommerce | 23 | 514 | 633 | 700 | Output is not escaped | ||
| #509 | WP All Import – Product Import for WooCommerce | 23 | 1,475 | 209 | 20k+ | Non Singular String Literal Domain | ||
| #510 | StoreCustomizer – A plugin to Customize all WooCommerce Pages | 23 | 587 | 1,426 | 20k+ | Non-prefixed global variable | ||
| #511 | ShopLentor – All-in-One WooCommerce Growth & Store Enhancement Plugin | 23 | 7,880 | 2,199 | 90k+ | Text Domain Mismatch | ||
| #512 | Worth The Read | 23 | 873 | 138 | 3k+ | Text Domain Mismatch | ||
| #513 | WP BackItUp Community Edition | 23 | 257 | 989 | 6k+ | Non-prefixed global variable | ||
| #514 | Clone | 23 | 244 | 262 | 40k+ | Output is not escaped | ||
| #515 | WP Courses LMS – Online Courses Builder, eLearning Courses, Courses Solution, Education Courses | 23 | 590 | 876 | 500 | Non-prefixed function | ||
| #516 | WP-CRM System – Manage Clients and Projects | 23 | 297 | 1,094 | 800 | Non-prefixed global variable | ||
| #517 | WP Crowdfunding | 23 | 199 | 1,629 | 2k+ | Non-prefixed global variable | ||
| #518 | WP Editor | 23 | 502 | 335 | 20k+ | Unsafe printing function | ||
| #519 | WP Free SSL | 23 | 735 | 1,345 | 1k+ | Non-prefixed global variable | ||
| #520 | Stripe Payment Forms by WP Full Pay – Accept Credit Card Payments, Donations & Subscriptions | 23 | 1,113 | 1,862 | 9k+ | Output is not escaped | ||
| #521 | WP Hotelier | 23 | 693 | 1,635 | 2k+ | Non-prefixed global variable | ||
| #522 | Lead Form Data Collection to CRM | 23 | 211 | 1,698 | 400 | Non-prefixed global variable | ||
| #523 | WP-Lister Lite for Amazon | 23 | 3,061 | 4,177 | 800 | Output is not escaped | ||
| #524 | FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce | 23 | 941 | 2,179 | 20k+ | SQL query is not prepared | ||
| #525 | WP Mega Menu | 23 | 992 | 792 | 8k+ | Non-prefixed global variable | ||
| #526 | WP Migrate Lite – Migration Made Easy | 23 | 369 | 255 | 200k+ | Exception output is not escaped | ||
| #527 | Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning | 23 | 1,118 | 202 | 40k+ | Missing Translators Comment | ||
| #528 | WP STAGING – WordPress Backup, Restore, Migration & Clone | 23 | 1,504 | 1,567 | 100k+ | Non-prefixed global variable | ||
| #529 | Subscribe Forms – Beautiful Email Forms, Embedded Newsletter Forms & MailChimp Form | 23 | 419 | 542 | 2k+ | Non-prefixed global variable | ||
| #530 | Track, Analyze & Optimize by WP Tao | 23 | 895 | 756 | 600 | Output is not escaped | ||
| #531 | Customer Support Ticket System & Helpdesk | 23 | 1,719 | 1,464 | 400 | Text Domain Mismatch | ||
| #532 | Divi Gravity Forms (WP Tools) | 23 | 579 | 1,311 | 2k+ | Non-prefixed global variable | ||
| #533 | WP Ultimate CSV Importer – WordPress Import & Export for CSV, XML & Excel | 23 | 1,158 | 3,642 | 20k+ | Interpolated SQL is not prepared | ||
| #534 | WP Webhooks – Automate repetitive tasks by creating powerful automation workflows directly within WordPress | 23 | 4,376 | 890 | 20k+ | Output is not escaped | ||
| #535 | WPMobile.App | 23 | 2,983 | 1,533 | 3k+ | Output is not escaped | ||
| #536 | WPCal.io – Easy Meeting Scheduler | 23 | 694 | 595 | 900 | Direct Query | ||
| #537 | Comments – wpDiscuz | 23 | 620 | 1,180 | 70k+ | Non-prefixed global variable | ||
| #538 | Masonry Gallery & Posts For Divi (WP Tools) | 23 | 754 | 1,450 | 800 | Non-prefixed global variable | ||
| #539 | WSW – Shopify WooCommerce / WordPress Integration and Migration | 23 | 1,449 | 1,612 | 600 | Non-prefixed global variable | ||
| #540 | Xpro Addons For Beaver Builder – Lite | 23 | 3,454 | 640 | 700 | Text Domain Mismatch | ||
| #541 | XT Ajax Add To Cart for WooCommerce | 23 | 1,003 | 1,690 | 1k+ | Non-prefixed global variable | ||
| #542 | XT Quick View for WooCommerce | 23 | 1,079 | 1,829 | 400 | Non-prefixed global variable | ||
| #543 | XT Variation Swatches for WooCommerce | 23 | 1,051 | 1,834 | 500 | Non-prefixed global variable | ||
| #544 | Yatra – Travel Booking & Tour Operator Software | 23 | 2,226 | 3,997 | 600 | Non-prefixed global variable | ||
| #545 | YITH Essential Kit for WooCommerce #1 | 23 | 397 | 1,481 | 5k+ | Non-prefixed global variable | ||
| #546 | YITH PayPal Express Checkout for WooCommerce | 23 | 387 | 1,443 | 1k+ | Non-prefixed global variable | ||
| #547 | YITH WooCommerce Affiliates | 23 | 549 | 1,527 | 6k+ | Non-prefixed global variable | ||
| #548 | YITH WooCommerce Ajax Product Filter | 23 | 463 | 1,527 | 80k+ | Non-prefixed global variable | ||
| #549 | Youzify – BuddyPress Community, User Profile, Social Network & Membership Plugin for WordPress | 23 | 2,317 | 1,714 | 5k+ | Output is not escaped | ||
| #550 | Zephyr Project Manager | 23 | 667 | 2,454 | 1k+ | Non-prefixed global variable |