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
#2351Wired Impact Volunteer Management352531751k+Output is not escaped
#2352ALD – Dropshipping and Fulfillment for AliExpress and WooCommerce355134410k+Request data is not unslashed
#2353Asaas Gateway for WooCommerce35121098k+Non-prefixed global variable
#2354Custom Payment Gateways for WooCommerce35202313k+Non Singular String Literal Domain
#2355Backend Payments for WooCommerce356342900Exception output is not escaped
#2356Save and Share Cart for WooCommerce3512551600Text Domain Mismatch
#2357Title Limit for WooCommerce3541124k+Output is not escaped
#2358Abandoned Cart Lite for WooCommerce358416120k+Non-prefixed global variable
#2359Call for Price for WooCommerce353318k+Non-prefixed hook name
#2360Checkout Terms Conditions Popup for WooCommerce3576301k+Output is not escaped
#2361Conversion Tracking for WooCommerce35746120k+Output is not escaped
#2362Japanized for WooCommerce3566810k+Non-prefixed class
#2363Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing355023650k+Non-prefixed hook name
#2364Payment Gateway for PayPal Pro & PayPal Checkout for WooCommerce35671471k+Request data is not unslashed
#2365Invoices for WooCommerce355516810k+Non-prefixed global variable
#2366PDF Invoices & Packing Slips for WooCommerce3535966300k+Non-prefixed hook name
#2367Product Tabs for WooCommerce3519610010k+Text Domain Mismatch
#2368Stock Manager for WooCommerce3554520k+Non-prefixed global variable
#2369Kybernaut IČO DIČ3579682k+Missing nonce verification
#2370WP Associate Post R235259863k+Output is not escaped
#2371Bitly's WordPress Plugin356232k+Non-prefixed function
#2372WP Compiler3533201k+Output is not escaped
#2373WP Content Copy Protection35761110k+Text Domain Mismatch
#2374WP-Cron Status Checker352401115k+Text Domain Mismatch
#2375Custom Body Class353910110k+Non-prefixed global variable
#2376WP Dark Mode – Improve Accessibility with AI Powered Dark Theme352016020k+Non-prefixed global variable
#2377WP Datepicker352251817k+Output is not escaped
#2378WP Duplicate Page35445060k+Text Domain Mismatch
#2379WP Geo3518084900Output is not escaped
#2380WP GPX Maps35271004k+Non-prefixed global variable
#2381WPGraphQL35108630k+Non-prefixed hook name
#2382WP Hydra3510181k+Input is not sanitized
#2383Mail logging – WP Mail Catcher3523215720k+Text Domain Mismatch
#2384WP Mailto Links – Protect Email Addresses3595698k+Output is not escaped
#2385WP-Markdown353139400Output is not escaped
#2386WP Menu Custom Fields35116600Hidden files included
#2387WP-PageNavi358495500k+Non Singular String Literal Domain
#2388Parse.ly3515441k+Non-prefixed hook name
#2389WP Post Nav3573242400Non-prefixed global variable
#2390WP Post Series35109600Non-prefixed global variable
#2391WP-PostViews3513264100k+Unsafe printing function
#2392WP-Print35110528k+Unsafe printing function
#2393WP Site Verification tool3534371k+Non-prefixed global variable
#2394Subresource Integrity (SRI) Manager352694900Request data is not unslashed
#2395WP Store Locator35261450k+wp function not compatible with requires wp
#2396WP To Top3530291k+Non-prefixed global variable
#2397WP-ViperGB3512768400Output is not escaped
#2398WP-Yomigana3517152k+Output is not escaped
#2399WPC Badge Management for WooCommerce3513812k+Missing nonce verification
#2400WPCore Plugin Manager35118389k+Text Domain Mismatch