WordPress.NamingConventions.PrefixAllGlobals.VariableConstantNameFound

Non-prefixed global variable

The plugin defines a global variable without a plugin-specific prefix.

medium weight

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.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#151Kits, Templates and Patterns29380915k+Text Domain Mismatch
#152MyWorks Sync for WooCommerce & Xero2911,080800Non-prefixed global variable
#153PlatiOnline Payments29304110700Output is not escaped
#154User Verification by PickPlugins29413145k+Request data is not unslashed
#155aThemes Starter Sites3026219540k+Text Domain Mismatch
#156Mailrelay303181701k+Text Domain Mismatch
#157Popup Builder – Create highly converting, mobile friendly marketing popups.3026722200k+Non-prefixed global variable
#158Pubjet | پاب‌جت30911721k+Output is not escaped
#159Subscriptions for WooCommerce3011,19010k+Non-prefixed global variable
#160WP 2FA – Two-factor authentication for WordPress30269380100k+Exception output is not escaped
#161YayPricing – WooCommerce Dynamic Pricing & Discounts301741863k+Non-prefixed global variable
#162Gabfire Widget Pack311,04160600Output is not escaped
#163Push notification for Mobile and Web app318783400Non Singular String Literal Domain
#164Return Refund and Exchange For WooCommerce31247134k+Non-prefixed global variable
#165WP ULike – Like & Dislike Buttons for Engagement and Feedback3126935860k+Output is not escaped
#166Better Robots.txt – AI-Ready Crawl Control & Bot Governance3255835k+error log error log
#167DHL eCommerce (Benelux) for WooCommerce322223302k+Nonce verification recommended
#168Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection)325601986k+Text Domain Mismatch
#169Opal Mega Menu32419119400Text Domain Mismatch
#170Autopay dla WooCommerce329583900Output is not escaped
#171WP fail2ban – Advanced Security327515360k+Dynamic hook name
#172Century ToolKit3311878800Output is not escaped
#173WP GIF Uploader33117441k+Text Domain Mismatch
#174MWB HubSpot for WooCommerce – CRM, Abandoned Cart, Email Marketing, Marketing Automation & Analytics33262797k+Non-prefixed global variable
#175Membership For WooCommerce3340659800Non-prefixed global variable
#176Molongui Post Contributors: Multi-Role Contributor Attribution33240162400Output is not escaped
#177More Types33227198800Non-prefixed global variable
#178PW WooCommerce Gift Cards3323818620k+Output is not escaped
#179Mercado Pago payments for WooCommerce3361463100k+Short PHP open tag found
#180Advanced Twenty Seventeen34247983k+Text Domain Mismatch
#181Easy Social Sharing34162401k+Non-prefixed global variable
#182Flash Toolkit3415924210k+Non-prefixed global variable
#183Weight Based Shipping Table Rate for WooCommerce – Flexible Shipping34124156100k+Nonce verification recommended
#184MantraBrain Starter Sites | MantraBrain Theme Demo Importer34117611k+Output is not escaped
#185Optima Express IDX347123710k+Non-prefixed class
#186Security Safe34193164700Missing Translators Comment
#187PostNL for WooCommerce345951043k+Text Domain Mismatch
#188WP Maps – Google Maps,OpenStreetMap,Mapbox,Store Locator,Listing,Directory & Filters3421945360k+wp function not compatible with requires wp
#189Insert Headers And Footers3483113300k+Non-prefixed global variable
#190LightStart – Maintenance Mode, Coming Soon and Landing Page Builder3442312400k+Request data is not unslashed
#191Automatic Internal Links for SEO by Pagup35342151k+error log error log
#192Gutenberg Block Editor Toolkit – EditorsKit35612520k+Text Domain Mismatch
#193Cache Enabler35447590k+Input is not sanitized
#194CHP Ads Block Detector3510935900Output is not escaped
#195Currency per Product for WooCommerce3546242k+Text Domain Mismatch
#196Wbcom Designs – Custom Font Uploader353401233k+Text Domain Mismatch
#197Custom Order Numbers for WooCommerce3563220k+Non-prefixed hook name
#198Customize My Account Page354101k+Dynamic hook name
#199Easy Dash for LearnDash3562388800Text Domain Mismatch
#200Product Bundle Builder for WooCommerce351521386k+Text Domain Mismatch