WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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
#3301Vast Demo Import42180113600Text Domain Mismatch
#3302WC Price History4218214k+Database parameter is not escaped
#3303WC Speed Repair4234741k+Non-prefixed global variable
#3304WebPlanex: GST Invoice India426363400Text Domain Mismatch
#3305Widget Visibility Time Scheduler4270341k+Output is not escaped
#3306WPC Order Notes for WooCommerce422441900Output is not escaped
#3307WP Content Copy Protection & No Right Click42126135100k+Unsafe printing function
#3308Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)422,5831,82310k+Text Domain Mismatch
#3309WP Fingerprint4234479k+Direct Query
#3310WP QuickLaTeX4241605k+Non-prefixed global variable
#3311WP Widget Clipboard – Duplicate widgets intuitively425119800Output is not escaped
#3312WPTerm4261893k+Output is not escaped
#3313AddFunc Head & Footer Code43281820k+Output is not escaped
#3314AMP4363362400k+Non-prefixed hook name
#3315Animation Builder – An interface for adding scroll-triggered animations43767900Missing Version
#3316BMI Adult & Kid Calculator4333138700Request data is not unslashed
#3317Customize Snapshots43942500Nonce verification recommended
#3318Good Old Twitter Feed Widget4311010400Text Domain Mismatch
#3319Hash Form – Drag & Drop Form Builder4392734k+Non-prefixed global variable
#3320Lightbox432910700Unsafe printing function
#3321Opal Woo Custom Product Variation431116400Non-prefixed global variable
#3322Pods Gravity Forms Add-On43791k+Missing nonce verification
#3323Qodax Checkout Manager – Checkout Field Editor for WooCommerce431727400Interpolated SQL is not prepared
#3324Reoon Email Verifier432238600Missing nonce verification
#3325Simple Revisions Delete43162610k+Output is not escaped
#3326Sinbyte Indexer4361192k+Text Domain Mismatch
#3327SQL Chart Builder431239600Non-prefixed global variable
#3328Team Builder Member Showcase43141271k+Non-prefixed global variable
#3329Terms Order WP – Categories And Taxonomies Order Plugin431247900Non-prefixed global variable
#3330Theme Test Drive4339167k+Output is not escaped
#3331Uber reCaptcha43129451k+Text Domain Mismatch
#3332Ultimate Member Widgets for Elementor – Login Form, Register Form & User Directory4315102400Non-prefixed namespace
#3333utm.codes433433400Missing nonce verification
#3334WIP Custom Login432137700Nonce verification recommended
#3335Checkout Field Manager (Checkout Manager) for WooCommerce4316115490k+Non-prefixed global variable
#3336WP Hotel Booking Stripe Payment433429400Text Domain Mismatch
#3337Advanced Dynamic Pricing and Discount Rules for WooCommerce44281320k+Non-prefixed namespace
#3338Buttonizer – Live Chat, AI Chatbot, Call, Chat, Contact Button44247150k+Non-prefixed constant
#3339Checkout Upsell Funnel for WooCommerce446244600Non-prefixed global variable
#3340Coming soon and Maintenance mode4414439k+Request data is not unslashed
#3341Comment Image4419231k+Output is not escaped
#3342Cookie Bar4429310k+Unsafe printing function
#3343Creative Addons for Elementor4463100800Missing Arg Domain
#3344ELEX WooCommerce Role Based Pricing442131962k+Non-prefixed global variable
#3345Github Embed4418351k+Non-prefixed global variable
#3346I Order Terms4440241k+Output is not escaped
#3347LearnPress – BuddyPress Integration4427251k+Output is not escaped
#3348Narrative Publisher4428371k+Text Domain Mismatch
#3349Notix – Web Push Notifications442241600Non-prefixed global variable
#3350Ocean Modal Window44264410k+Output is not escaped