WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound
Non-prefixed constant
The plugin defines a constant 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 constant 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 |
|---|---|---|---|---|---|---|---|---|
| #401 | Directory Listings WordPress plugin – uListing | 23 | 947 | 1,573 | 1k+ | Non-prefixed global variable | ||
| #402 | Ultimate Fields | 23 | 371 | 458 | 600 | Alternative PHP tag found | ||
| #403 | Product Options and Price Calculation Formulas for WooCommerce – Uni CPO | 23 | 2,514 | 1,929 | 1k+ | Output is not escaped | ||
| #404 | User Menus – Nav Menu Visibility | 23 | 531 | 1,298 | 80k+ | Non-prefixed global variable | ||
| #405 | UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP | 23 | 694 | 2,439 | 20k+ | Non-prefixed hook name | ||
| #406 | VK All in One Expansion Unit | 23 | 1,026 | 518 | 100k+ | Output is not escaped | ||
| #407 | W3 Total Cache | 23 | 307 | 678 | 900k+ | Non-prefixed global variable | ||
| #408 | Cart PDF for WooCommerce | 23 | 531 | 172 | 1k+ | Exception output is not escaped | ||
| #409 | Checkout with Zelle on Woocommerce | 23 | 637 | 1,404 | 3k+ | Non-prefixed global variable | ||
| #410 | Advanced Booking & Appointment System – Webba Booking Calendar | 23 | 1,617 | 3,378 | 2k+ | Non-prefixed global variable | ||
| #411 | WHMCS Bridge | 23 | 247 | 472 | 4k+ | Nonce verification recommended | ||
| #412 | Widgets on Pages | 23 | 809 | 1,306 | 20k+ | Non-prefixed global variable | ||
| #413 | Widgets for WooCommerce Products on Elementor | 23 | 1,659 | 1,454 | 3k+ | Non-prefixed global variable | ||
| #414 | Germanized for WooCommerce | 23 | 222 | 1,054 | 70k+ | Non-prefixed global variable | ||
| #415 | Predictive Search for WooCommerce | 23 | 514 | 633 | 700 | Output is not escaped | ||
| #416 | StoreCustomizer – A plugin to Customize all WooCommerce Pages | 23 | 587 | 1,426 | 20k+ | Non-prefixed global variable | ||
| #417 | Clone | 23 | 244 | 262 | 40k+ | Output is not escaped | ||
| #418 | WP Courses LMS – Online Courses Builder, eLearning Courses, Courses Solution, Education Courses | 23 | 590 | 876 | 500 | Non-prefixed function | ||
| #419 | WP Editor | 23 | 502 | 335 | 20k+ | Unsafe printing function | ||
| #420 | WP Free SSL | 23 | 735 | 1,345 | 1k+ | Non-prefixed global variable | ||
| #421 | Stripe Payment Forms by WP Full Pay – Accept Credit Card Payments, Donations & Subscriptions | 23 | 1,113 | 1,862 | 9k+ | Output is not escaped | ||
| #422 | WP Hotelier | 23 | 693 | 1,635 | 2k+ | Non-prefixed global variable | ||
| #423 | Lead Form Data Collection to CRM | 23 | 211 | 1,698 | 400 | Non-prefixed global variable | ||
| #424 | WP-Lister Lite for Amazon | 23 | 3,061 | 4,177 | 800 | Output is not escaped | ||
| #425 | FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce | 23 | 941 | 2,179 | 20k+ | SQL query is not prepared | ||
| #426 | WP Migrate Lite – Migration Made Easy | 23 | 369 | 255 | 200k+ | Exception output is not escaped | ||
| #427 | WP STAGING – WordPress Backup, Restore, Migration & Clone | 23 | 1,504 | 1,567 | 100k+ | Non-prefixed global variable | ||
| #428 | Subscribe Forms – Beautiful Email Forms, Embedded Newsletter Forms & MailChimp Form | 23 | 419 | 542 | 2k+ | Non-prefixed global variable | ||
| #429 | Customer Support Ticket System & Helpdesk | 23 | 1,719 | 1,464 | 400 | Text Domain Mismatch | ||
| #430 | Divi Gravity Forms (WP Tools) | 23 | 579 | 1,311 | 2k+ | Non-prefixed global variable | ||
| #431 | WPMobile.App | 23 | 2,983 | 1,533 | 3k+ | Output is not escaped | ||
| #432 | WPCal.io – Easy Meeting Scheduler | 23 | 694 | 595 | 900 | Direct Query | ||
| #433 | Comments – wpDiscuz | 23 | 620 | 1,180 | 70k+ | Non-prefixed global variable | ||
| #434 | Photo Engine (Media Organizer & Lightroom) | 23 | 252 | 650 | 2k+ | Direct Query | ||
| #435 | Masonry Gallery & Posts For Divi (WP Tools) | 23 | 754 | 1,450 | 700 | Non-prefixed global variable | ||
| #436 | WSW – Shopify WooCommerce / WordPress Integration and Migration | 23 | 1,449 | 1,612 | 600 | Non-prefixed global variable | ||
| #437 | XT Ajax Add To Cart for WooCommerce | 23 | 1,003 | 1,690 | 1k+ | Non-prefixed global variable | ||
| #438 | XT Quick View for WooCommerce | 23 | 1,079 | 1,829 | 400 | Non-prefixed global variable | ||
| #439 | XT Variation Swatches for WooCommerce | 23 | 1,051 | 1,834 | 500 | Non-prefixed global variable | ||
| #440 | YITH Essential Kit for WooCommerce #1 | 23 | 397 | 1,481 | 5k+ | Non-prefixed global variable | ||
| #441 | YITH PayPal Express Checkout for WooCommerce | 23 | 387 | 1,443 | 1k+ | Non-prefixed global variable | ||
| #442 | YITH WooCommerce Affiliates | 23 | 549 | 1,527 | 6k+ | Non-prefixed global variable | ||
| #443 | YITH WooCommerce Ajax Product Filter | 23 | 463 | 1,527 | 80k+ | Non-prefixed global variable | ||
| #444 | Youzify – BuddyPress Community, User Profile, Social Network & Membership Plugin for WordPress | 23 | 2,317 | 1,714 | 5k+ | Output is not escaped | ||
| #445 | Zephyr Project Manager | 23 | 667 | 2,454 | 1k+ | Non-prefixed global variable | ||
| #446 | 404 Solution | 24 | 486 | 1,338 | 10k+ | Non-prefixed class | ||
| #447 | Anti Spam and list cleaner – AcyChecker | 24 | 462 | 88 | 400 | Output is not escaped | ||
| #448 | AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress | 24 | 5,234 | 1,464 | 7k+ | Output is not escaped | ||
| #449 | Ivory Search – WordPress Search Plugin | 24 | 1,173 | 1,688 | 100k+ | Non-prefixed global variable | ||
| #450 | Advanced Contact form 7 DB | 24 | 764 | 1,960 | 70k+ | Non-prefixed global variable |