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
#4451WP Anywhere Widgets891614700wp function not compatible with requires wp
#4452Disable User Login89120500Direct Query
#4453WPC Smart Notifications for WooCommerce8979600Non-prefixed global variable
#4454WPC Variation Swatches for WooCommerce89297k+Non-prefixed global variable
#4455wetracked.io for WooCommerce8949700Non-prefixed constant
#4456Animated Headline905162k+Non-prefixed constant
#4457aThemes Addons for Elementor9013968k+Non-prefixed global variable
#4458Avantex Companion90351001k+Non-prefixed global variable
#4459Beehive Analytics – Google Analytics Dashboard906112220k+Text Domain Mismatch
#4460Business Reviews – Display Customer Reviews from Popular Sites90441k+Non-prefixed class
#4461Canvas90211510k+Non-prefixed global variable
#4462Card Elements for WPBakery901208500Non-prefixed global variable
#4463Comunas de Chile para WooCommerce90562k+trademarked term
#4464Conditional Blocks – Advanced Content Visibility Control for WordPress9010222k+Missing direct file access protection
#4465CookiePro | Simplify Compliance with GDPR & EU Cookie Laws903751k+Missing Arg Domain
#4466Cryptocurrency Widgets For Elementor901331k+Non-prefixed global variable
#4467Cloudflare SSL by Weslink90372k+trademarked term
#4468Daddy Plus90355528k+Non-prefixed global variable
#4469Dynamic Year Block – display a copyright notice in your footer with the current year905282k+Non-prefixed global variable
#4470Easy Auto SKU Generator for WooCommerce90211310k+Missing direct file access protection
#4471Shipping Live Rates and Access Points for UPS for WooCommerce906117k+Non-prefixed global variable
#4472Flipdish Ordering System90511400Non-prefixed function
#4473Genesis Custom Blocks9072210k+Non-prefixed function
#4474ShareThis Dashboard for Google Analytics90427280k+Non-prefixed global variable
#4475HivePress Messages907107k+Direct Query
#4476HivePress Reviews905117k+Non-prefixed global variable
#4477Include Mastodon Feed90113800Non-prefixed global variable
#4478User Profile Picture905040k+Non-prefixed hook name
#4479Shipping Cost on Product Page Calculator for WooCommerce90314400Non-prefixed global variable
#4480Order Status Control for WooCommerce902345k+Text Domain Mismatch
#4481PHP Native Password Hash90762k+Non-prefixed global variable
#4482Payment Forms for Paystack90494233k+Text Domain Mismatch
#4483Photection – Easy image protection for WordPress90491k+Non-prefixed global variable
#4484Post Export Import with Media9034411k+Missing Translators Comment
#4485Power Coupons for WooCommerce9069120k+Non-prefixed global variable
#4486Prevent Browser Caching9021810k+Non-prefixed hook name
#4487WP All Export – Product Export Add-On for WooCommerce90142610k+Non-prefixed hook name
#4488PromPress9084700Missing direct file access protection
#4489QODE Quick View for WooCommerce9029810k+Non-prefixed global variable
#4490Quotes for WooCommerce901862654k+Text Domain Mismatch
#4491Reading Position Indicator90223800Dynamic hook name
#4492Relevanssi Live Ajax Search904227k+Non-prefixed global variable
#4493SEO SIMPLE PACK909997100k+Non-prefixed global variable
#4494Slider by Soliloquy – Responsive Image Slider for WordPress904702930k+Text Domain Mismatch
#4495Tabbed Contents Block – Display Content in Tabbed Layout90436800Non-prefixed global variable
#4496TMDS – Dropshipping for TEMU and Woo901110500Non-prefixed global variable
#4497Wetterwarner90512500Non-prefixed function
#4498WPC Smart Compare for WooCommerce902270k+Nonce verification recommended
#4499WPC Smart Quick View for WooCommerce902590k+Nonce verification recommended
#4500WowShipping – Weight Based Table Rate Shipping with Live Rates for UPS, USPS, DHL902619500Text Domain Mismatch