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
#4801Unique Headers9712610k+Missing Translators Comment
#4802User Shortcodes974131k+Non-prefixed global variable
#4803VARGAL – Additional Variation Gallery for WooCommerce973261k+Non-prefixed hook name
#4804Proxy Cache Purge974450k+Non-prefixed hook name
#4805GSheetConnector for WooCommerce – Send your Orders and Products to Google Sheet in Real-Time97343k+Non-prefixed constant
#4806WCBoost – Wishlist9722950k+Non-prefixed global variable
#4807Website Chat Button: Kommo integration971431k+Non-prefixed global variable
#4808WPC Fly Cart for WooCommerce973210k+Non-prefixed hook name
#4809Social Media Feed Gallery – Fetch Posts & Reels971252k+Non-prefixed global variable
#4810LightPress Lightbox9733440k+Text Domain Mismatch
#4811WPC Product Size Chart for WooCommerce97192k+Non-prefixed class
#4812WPC Share Cart for WooCommerce97321k+Non-prefixed hook name
#4813Easy Spam Filter – Privacy-Friendly CAPTCHA Alternative with Turnstile for Contact Form 7, WPForms, BuddyPress, Elementor972141k+Dynamic hook name
#4814Yandex Pay and Split97216400Non-prefixed global variable
#4815ZIP from Media97416400Non-prefixed global variable
#4816Accessibility Widget by OneTap – Easy One-Click Accessibility Toolbar9841850k+Non-prefixed global variable
#4817Post Category Filter (WP Admin)98281k+trademarked term
#4818Airi Demo Importer98171k+Deprecated function: get_page_by_title
#4819AlphaListing9818500Non-prefixed function
#4820Animated Typed JS Shortcode98121k+Non-prefixed global variable
#4821Archive Title982111k+Non-prefixed global variable
#4822Author Bio Box98161k+Non-prefixed global variable
#4823Auto SEO98312500Non-prefixed global variable
#4824Auto Update Plugins98161k+trademarked term
#4825Autoremove Attachments98253k+Non-prefixed function
#4826Blocks Export Import – Backup & Move Gutenberg Blocks as JSON982111k+Non-prefixed global variable
#4827Broken Link Checker by AIOSEO – Find & Fix Broken Internal, External & Video Links98115300k+Non-prefixed global variable
#4828BT iPay Payments982131k+Non-prefixed global variable
#4829Category Archives Block98145900Missing Arg Domain
#4830Checkout Fields for Blocks981101k+Non-prefixed global variable
#4831Clone Posts985510k+Missing Arg Domain
#4832Comment Moderation/Notification Recipients98271k+Non-prefixed global variable
#4833Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts98381k+Non-prefixed hook name
#4834Copy Move Posts987400Non-prefixed global variable
#4835Counter-Hits98421k+Missing direct file access protection
#4836Creativ Demo Importer98422k+Non-prefixed global variable
#4837Dashboard Columns98261k+Non-prefixed function
#4838Disable Generate Thumbnails981146k+Non-prefixed global variable
#4839Easy Hide Login9831220k+Non-prefixed global variable
#4840Easyship WooCommerce Shipping Rates981162k+Direct Query
#4841Flexible Quantity – Measurement Price Calculator for WooCommerce98292k+Non-prefixed global variable
#4842Flexible Table Block984740k+Non-prefixed constant
#4843Footer Credits98321k+Missing direct file access protection
#4844Genesis Simple Menus983152k+Non-prefixed global variable
#4845GetTerms Cookie Consent & Policies9846800Non-prefixed global variable
#4846HBAgency981169k+Non-prefixed global variable
#4847Hide Prices for WooCommerce9843800Missing direct file access protection
#4848Image Picker For Gravity Forms98211k+Non-prefixed global variable
#4849Infinity TNC Divi Modules9825900Non-prefixed global variable
#4850Item Lists for Elementor981491k+Non-prefixed global variable