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
#4301WPC Grouped Product for WooCommerce84453k+Nonce verification recommended
#4302Advanced Post Manager8511184k+Request data is not unslashed
#4303reCaptcha Add-On for FormCraft854167k+Missing Version
#4304WP Ghost (Hide My WP Ghost) – Security & Firewall856373100k+Non-prefixed global variable
#4305JAMP Notes (Just Another Memo Plugin)85170183400Text Domain Mismatch
#4306Madquick WP Legal Pages – One Click, 100% Free85555600Non-prefixed global variable
#4307MD5 Media Renamer85819400Non-prefixed global variable
#4308No External Links857265k+Database parameter is not escaped
#4309News Element Elementor Blog Magazine85174695400Non-prefixed global variable
#4310Payment Integration Wompi8544111k+Missing Arg Domain
#4311Pronamic Google Maps8524181k+Non-prefixed global variable
#4312Real Thumbnail Generator: Efficient regeneration of thumbnails in all sizes855581k+Non-prefixed constant
#4313Remove Footer Credit8573170k+Non-prefixed global variable
#4314Review widget addon for Elementor85891k+Non-prefixed function
#4315Salt Shaker8515136k+Interpolated SQL is not prepared
#4316Shiprocket85561510k+Text Domain Mismatch
#4317Smoothscroller8592500Output is not escaped
#4318Social Share Button8517071k+Non-prefixed global variable
#4319States, Cities, and Places for WooCommerce851011926k+Non-prefixed global variable
#4320StoreOne Extension85687400Text Domain Mismatch
#4321Visual Header85642400Non-prefixed function
#4322Widget CSS Classes8547880k+Non Singular String Literal Domain
#4323Notification for WooCommerce | Boost Your Sales – Recent Sales Popup – Live Feed Sales – Upsells859356k+Non-prefixed constant
#4324Flexible Map851077k+Non-prefixed class
#4325WPC Estimated Delivery Date for WooCommerce85679k+Non-prefixed global variable
#4326WPC Variations Table for WooCommerce8534400Non-prefixed hook name
#4327AM LottiePlayer86512800Non-prefixed global variable
#4328Astra Widgets861015200k+Missing direct file access protection
#4329Boxtal – Shipping solution863929k+Non-prefixed global variable
#4330Browser Screenshots861533k+wp function not compatible with requires wp
#4331Catch Breadcrumb861292k+Non-prefixed global variable
#4332CBX User Online & Last Login86387800Non-prefixed global variable
#4333Feed JSON86915500Non-prefixed global variable
#4334La Poste Pro Expéditions WooCommerce863951k+Non-prefixed global variable
#4335Shoppable Images (Lookbook) for WooCommerce8621316k+Missing direct file access protection
#4336Mailchimp List Subscribe Form862215660k+Non-prefixed global variable
#4337Modern Cart – WooCommerce Side Cart & Popup Cart8689550k+Non-prefixed global variable
#4338AI for Home Services8685700Setting is missing a sanitization callback
#4339Ocean Product Sharing8691820k+Non-prefixed global variable
#4340Pofily – WooCommerce Product Filters861322600Non-prefixed global variable
#4341Printus – Automatic Cloud Printing for WooCommerce862820800Missing Arg Domain
#4342Product Enquiry for WooCommerce (Now with AI Assistant)86614610k+Non-prefixed global variable
#4343ShopBuilder – WooCommerce Builder For Elementor86941410k+Non-prefixed global variable
#4344Social Divi861581k+Missing direct file access protection
#4345Social Sharing Block865117k+Non-prefixed global variable
#4346Trusted Shops Easy Integration for WooCommerce865676k+Non-prefixed hook name
#4347Ultimate Markdown – Markdown Editor, Importer, & Exporter866152k+Database parameter is not escaped
#4348Unlimited Theme Addon For Elementor867468600Missing direct file access protection
#4349Variation Swatches for WooCommerce – Color, Image & Size Swatches86217200k+Request data is not unslashed
#4350WC MyParcel Belgium8634079600Text Domain Mismatch