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
#3151Sticky Buttons – Floating Buttons Builder97210810k+Non-prefixed global variable
#3152Sticky Menu & Sticky Header97423100k+Non-prefixed global variable
#3153Superb Helper975328k+Non-prefixed global variable
#3154SVG Support971271m+Non-prefixed global variable
#3155TinyMCE Clear Float972410k+Missing direct file access protection
#3156Unique Headers9712610k+Missing Translators Comment
#3157Proxy Cache Purge974450k+Non-prefixed hook name
#3158GSheetConnector for WooCommerce – Send your Orders and Products to Google Sheet in Real-Time97343k+Non-prefixed constant
#3159WCBoost – Wishlist9722950k+Non-prefixed global variable
#3160WPC Fly Cart for WooCommerce973210k+Non-prefixed hook name
#3161Social Media Feed Gallery – Fetch Posts & Reels971252k+Non-prefixed global variable
#3162LightPress Lightbox9733440k+Text Domain Mismatch
#3163WPC Product Size Chart for WooCommerce97192k+Non-prefixed class
#3164zipaddr-jp9735250k+Non-prefixed global variable
#3165Animated Typed JS Shortcode98121k+Non-prefixed global variable
#3166Archive Title982111k+Non-prefixed global variable
#3167Author Bio Box98161k+Non-prefixed global variable
#3168Auto Update Plugins98161k+trademarked term
#3169Autoremove Attachments98253k+Non-prefixed function
#3170Blocks CSS: CSS Editor for Gutenberg Blocks981135k+Non-prefixed global variable
#3171Broken Link Checker by AIOSEO – Find & Fix Broken Internal, External & Video Links98115300k+Non-prefixed global variable
#3172Clone Posts985510k+Missing Arg Domain
#3173Creativ Demo Importer98412k+Non-prefixed global variable
#3174Disable Generate Thumbnails981146k+Non-prefixed global variable
#3175Easy Hide Login9831220k+Non-prefixed global variable
#3176Easyship WooCommerce Shipping Rates981162k+Direct Query
#3177Flexible Quantity – Measurement Price Calculator for WooCommerce98292k+Non-prefixed global variable
#3178Flexible Table Block984740k+Non-prefixed constant
#3179Genesis Simple Menus983152k+Non-prefixed global variable
#3180HBAgency981169k+Non-prefixed global variable
#3181Image Picker For Gravity Forms98211k+Non-prefixed global variable
#3182MB Elementor Integration98232k+Non-prefixed global variable
#3183Mime Types Plus9811210k+Non-prefixed global variable
#3184Instant Back/Forward981510k+Non-prefixed hook name
#3185External Links in New Window / New Tab9821330k+Non-prefixed global variable
#3186Plus WebP or AVIF98245k+Non-prefixed global variable
#3187ShareThis Share Buttons982910k+Non-prefixed global variable
#3188Simple Shortcode for Google Maps98253k+Non-prefixed hook name
#3189Snapchat for WooCommerce9811260k+Dynamic hook name
#3190Superb Recent Posts With Thumbnail Images98666k+Non-prefixed global variable
#3191TutorMate983210k+Missing Translators Comment
#3192WCBoost – Products Compare981740k+Non-prefixed global variable
#3193WebFinger98381k+Non-prefixed function
#3194WPC Added To Cart Notification for WooCommerce98173k+Non-prefixed class
#3195Table Rate Shipping for WooCommerce981220k+Non-prefixed function
#3196WP Edit Username981142k+Non-prefixed hook name
#3197WPC Linked Variation for WooCommerce98153k+Non-prefixed class
#3198WPC Name Your Price for WooCommerce98166k+Non-prefixed class
#3199WPC Product Videos for WooCommerce98153k+Non-prefixed class
#3200WPC Sticky Add To Cart for WooCommerce98172k+Non-prefixed class