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
#2151Friendly Captcha for WordPress35192629k+Output is not escaped
#2152FrontBlocks for Gutenberg/GeneratePress35107500Offloaded Content
#2153Frontend Reset Password358312810k+Text Domain Mismatch
#2154GA4WP – Analytics Dashboard for the Website354341572k+Text Domain Mismatch
#2155Video Gallery – YouTube Gallery, Vimeo, Video Portfolio, Image Portfolio and Image Gallery355019910k+Non-prefixed global variable
#2156Genesis Simple Sidebars3595110k+Nonce verification recommended
#2157GeoTargeting Lite – WordPress Geolocation3566791k+Output is not escaped
#2158Get a Newsletter35138144400Output is not escaped
#2159Glossary35169932k+Non Singular String Literal Domain
#2160Gravitec.net – Web Push Notifications3547521k+wp function not compatible with requires wp
#2161Gum Addon for Elementor356607250k+Text Domain Mismatch
#2162Gumlet – Image optimization with Resize, Compression, Lazy load, Caching & CDN delivery355345500parse url parse url
#2163Health Check & Troubleshooting35264238300k+Missing Arg Domain
#2164Heartbeat Control35271880k+Missing Arg Domain
#2165Social Comments by Heateor3528535700Unsafe printing function
#2166Highlighting Code Block356210k+Hidden files included
#2167Hippoo Mobile App for WooCommerce355921k+Direct Query
#2168HivePress – Business Directory, Listings & Classified Ads Plugin353818010k+Direct Query
#2169Hyve Lite – AI Chatbot, ChatGPT-Powered Conversational Support351407k+Direct Query
#2170Iframely – WP media embeds, cards and blocks35136432k+Unsafe printing function
#2171Image Slider35192954k+Output is not escaped
#2172Image Widget3516531100k+Output is not escaped
#2173Import Users & Customers with Meta | WP Ultimate CSV Importer Add-on35271405k+Interpolated SQL is not prepared
#2174Imsanity353229200k+Direct Query
#2175IndieWeb3559600Non-prefixed hook name
#2176InPost PL35293810k+Non-prefixed global variable
#2177Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts35649160k+Output is not escaped
#2178Inspiro Starter Sites – 20+ Free Demo Templates for Gutenberg & Elementor35620010k+Non-prefixed global variable
#2179Social Feed Gallery351045280k+Text Domain Mismatch
#2180Instant CSS3525253k+Output is not escaped
#2181Instapage Plugin35220454k+Output is not escaped
#2182ICIT Weather Widget353588400Output is not escaped
#2183IP Based Login35179146600Output is not escaped
#2184iPages – FlipBook Image & PDF Viewer354671772k+Text Domain Mismatch
#2185Japanese font for WordPress(Previously: Japanese Font for TinyMCE)35113710k+Non-prefixed global variable
#2186Static Site Exporter355425500file system operations mkdir
#2187Jetpack VideoPress357102417k+Text Domain Mismatch
#2188JSON Feed (jsonfeed.org)359291k+Non-prefixed global variable
#2189Nobs • Share Buttons35314853k+Output is not escaped
#2190Kargo Takip35841423k+Missing nonce verification
#2191Kaya QR Code Generator351934020k+Non Singular String Literal Domain
#2192KBoard 위젯 – 워드프레스 게시판3553323k+Output is not escaped
#2193Kustom Checkout for WooCommerce3510150510k+Dynamic hook name
#2194Flexible Invoices for WooCommerce – KSeF Add-on353915600Non-prefixed global variable
#2195Lead Call Buttons35113815k+Output is not escaped
#2196Lead Generation Form352163600Non-prefixed global variable
#2197Topic Progression Using Storyline/Captivate for LearnDash3538225400Text Domain Mismatch
#2198LiteSpeed Cache352868937m+Non-prefixed global variable
#2199Log in with Google355176k+Non-prefixed global variable
#2200Magic Login – Passwordless Authentication for WordPress – Login Without Password3523533k+Missing nonce verification