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
#4701WP Telegram Login & Register9511211k+Non-prefixed global variable
#4702WP Telegram Widget and Join Link9513184k+Missing direct file access protection
#4703YLabs Connector for WPWriter9557900Forbidden PHP function found
#4704WebberZone Snippetz – Header, Body and Footer manager961532k+Dynamic hook name
#4705Addonify – Quick View For WooCommerce9615211k+Non-prefixed global variable
#4706Directorist AddonsKit for Elementor9643310k+Non-prefixed global variable
#4707Admin Page Spider9610271k+Non-prefixed global variable
#4708Portfolio Grid – Filterable Gallery, Grid & Slider Showcase96350900Non-prefixed function
#4709AffiliateX – Amazon Affiliate Plugin, Product Boxes, Comparison Tables & Affiliate Link Tracking967310k+Non-prefixed global variable
#4710AI Bud – AI Content Generator, AI Chatbot, ChatGPT, Gemini, GPT-4o965542k+Non-prefixed global variable
#4711Analytify – Dashboard Widget for Google Analytics96211210k+wp function not compatible with requires wp
#4712Transient Cleaner963641k+Non-prefixed global variable
#4713Auto Delete Applications – Add-on for WP Job Openings9619141k+Text Domain Mismatch
#4714Pricing Table – Block – Show Product or Service Pricing in Table Format9662k+Non-prefixed global variable
#4715Bit SMTP – Easy SMTP Solution with Email Logs966132k+Missing Version
#4716Block Patterns for Food Bloggers962114800Missing direct file access protection
#4717Booktics – Booking Calendar for Appointments and Service Businesses96297700wp function not compatible with requires wp
#4718Bulk Datetime Change963186k+Non-prefixed global variable
#4719Button Generator – Easily Create Custom Buttons with Icons and Analytics968685k+Non-prefixed global variable
#4720Carousel Slider Block for Gutenberg96481240k+Text Domain Mismatch
#4721Cookie Wow PDPA Banner96761k+Missing direct file access protection
#4722Custom Fields Permalink 29649500Non-prefixed global variable
#4723Easy Footnotes966228k+Non-prefixed global variable
#4724Easy Hide Admin Menu Items9643111k+Text Domain Mismatch
#4725Elements Plus!9611206k+Non-prefixed function
#4726Enable SVG, WebP, and ICO Upload96121610k+Non-prefixed global variable
#4727Events Tracker for Elementor9641010k+Non-prefixed constant
#4728Fixed Bottom Menu9615455k+Non-prefixed hook name
#4729Shipping Live Rates for FedEx for WooCommerce964102k+Non-prefixed global variable
#4730Shipping Live Rates for USPS for WooCommerce964112k+Non-prefixed global variable
#4731Float menu – awesome floating side menu96910330k+Non-prefixed global variable
#4732Force Refresh9615134k+Missing direct file access protection
#4733Fresh Forms for Gravity96763k+Non-prefixed constant
#4734Hide WordPress Version9654400trademarked term
#4735Image Size Selection for Divi96603500Text Domain Mismatch
#4736Kit (formerly ConvertKit) for WPForms9611161k+Non-prefixed global variable
#4737Menu Cart Divi962691k+Text Domain Mismatch
#4738WP OAuth Server ( Login with WordPress )962691k+wp function not compatible with requires wp
#4739Divi Masonry Gallery – Pro Gallery9654162k+Text Domain Mismatch
#4740Permalink Trailing Slash Fixer9642700Missing direct file access protection
#4741Plugins Condition963301k+Non-prefixed global variable
#4742QODE Variation Swatches for WooCommerce961871k+Non-prefixed global variable
#4743Widgets for Airbnb Reviews963496k+Non-prefixed global variable
#4744Widgets for Amazon Reviews963522k+Non-prefixed global variable
#4745Widgets for Yelp Reviews963492k+Non-prefixed global variable
#4746Simple GDPR Cookie Compliance9610165k+Non-prefixed global variable
#4747ThemeZee Magazine Blocks968514k+Non-prefixed global variable
#4748Top Level Categories96512k+Missing direct file access protection
#4749Product Category Showcase for WooCommerce968451k+Non-prefixed global variable
#4750Display Eventbrite Events96313k+error log print r