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
#2551WP LaTeX3610312700Output is not escaped
#2552WP Publication Archive3619764400Text Domain Mismatch
#2553WP Responsive Menu3629513930k+Text Domain Mismatch
#2554WP Show Posts3610710270k+Output is not escaped
#2555WP Sort Order361342116k+Direct Query
#2556WP Super Edit36351852k+Nonce verification recommended
#2557WPAvatar3642545700Unsafe printing function
#2558WP fail2ban Blocklist3661633k+SQL query is not prepared
#2559WPLMS H5P361111061k+Text Domain Mismatch
#2560wpShopGermany IT-RECHT KANZLEI363747500Input is not sanitized
#2561YayExtra – WooCommerce Extra Product Options36114721k+Non-prefixed global variable
#2562Custom Product Tabs for WooCommerce36878180k+Output is not escaped
#2563ACF: TablePress37160451k+Text Domain Mismatch
#2564Adapta RGPD373497240k+Text Domain Mismatch
#2565Adaptive Images for WordPress3751753k+Output is not escaped
#2566AddToAny Share Buttons37123164300k+Unsafe printing function
#2567Add to Cart Redirect for WooCommerce372151418k+Text Domain Mismatch
#2568PiWeb Advanced Flat rate / Conditional shipping for WooCommerce37841922k+wp function not compatible with requires wp
#2569Agreeable374067800Unsafe printing function
#2570AJAX Hits Counter + Popular Posts Widget37247441k+Output is not escaped
#2571Analytics Spam Blocker377622800Unsafe printing function
#2572All-in-one Chat Button by anychat.one3711969900Text Domain Mismatch
#2573Anything Popup371641852k+Non-prefixed global variable
#2574Apaczka: integracja z WooCommerce3783163k+Non-prefixed global variable
#2575Login by Auth0373078210k+Text Domain Mismatch
#2576authLdap3746304k+Exception output is not escaped
#2577avalex – Automatisch sichere Rechtstexte3725851k+Direct Query
#2578Avatar Privacy3782361k+Missing direct file access protection
#2579AZAN Plugin374430500Output is not escaped
#2580Banhammer – Monitor Site Traffic, Block Bad Users and Bots371041741k+Output is not escaped
#2581Custom Thank You Page Customize For WooCommerce by Binary Carpenter3745802k+error log error log
#2582Better Click To Share – Shareable Quote Boxes for X (Twitter)37170596k+Unsafe printing function
#2583Blimply3717243800Text Domain Mismatch
#2584Blog News Addons For Elementor (News, Magazine and Blog Addons)3723296400Non-prefixed global variable
#2585Customize WordPress Emails and Alerts – Better Notifications for WP37644730k+Missing Arg Domain
#2586Booster Extension37282896k+Non-prefixed global variable
#2587Britetechs Companion379666132k+Text Domain Mismatch
#2588BuddyPress Members Only37184801k+Text Domain Mismatch
#2589bunny.net – WordPress CDN Plugin3716515910k+Output is not escaped
#2590Contact Zalo Report SW374439900Missing Arg Domain
#2591Delivery Date Time & Pickup for WooCommerce37148216400Output is not escaped
#2592Carousel Upsells and Related Product for Woocommerce37173351k+Output is not escaped
#2593Catalog Booster & Product Catalog Mode for WooCommerce371061681k+Non-prefixed function
#2594Clearpay Gateway for WooCommerce37185631k+Text Domain Mismatch
#2595ClickRank – Ai SEO Automation37102261k+Direct Query
#2596Coming Soon & Maintenance Mode by Colorlib371001366k+Non-prefixed global variable
#2597Lightweight Subscribe To Comments37105701k+Unsafe printing function
#2598PiWeb Conditional cart fee / Extra charge rule for WooCommerce371642142k+Text Domain Mismatch
#2599Constant Contact Forms by MailMunch37147532k+wp function not compatible with requires wp
#2600CookieAdmin – Cookie Consent Banner374386400k+Nonce verification recommended