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
#3901Mailster Contact Form 76835201k+Text Domain Mismatch
#3902News Magazine X Core6863305k+Missing Translators Comment
#3903One Stop Shop for WooCommerce68238310k+Input is not sanitized
#3904PagBank for WooCommerce688363k+Input is not sanitized
#3905Pinterest Verify Meta Tag68206600Output is not escaped
#3906POS Entegratör – Gurmehub Ödeme Eklentisi681,321691k+Text Domain Mismatch
#3907Custom Form Builder, Contact Forms, Payment Forms, Surveys, Polls6821181k+Output is not escaped
#3908Russian Post and EMS for WooCommerce6816471k+Non-prefixed global variable
#3909SF Author Url Control682941k+Output is not escaped
#3910Shiptastic Integration for DHL68543610k+Missing Translators Comment
#3911SKT Page Builder6815492k+Missing nonce verification
#3912Smartarget – Chat Buttons & Engagement Apps6831111k+Non Singular String Literal Domain
#3913Increase Maximum Upload File Size68281440k+Missing Arg Domain
#3914Export and Import Users and Customers6822366260k+Non-prefixed global variable
#3915Thank You Page for WooCommerce6862710k+Non-prefixed global variable
#3916WiserReview Product Reviews for WooCommerce6821110900Non-prefixed global variable
#3917Product Category Slider for WooCommerce6821104800Non-prefixed hook name
#3918WP and Divi Icons68201562k+wp function not compatible with requires wp
#3919Ever Accounting – Accounting & Invoicing Solution for Small Businesses68696611k+Non-prefixed hook name
#3920WP Smart Preloader6827105k+Output is not escaped
#3921AdOpt | Easy Multi-Regulations Cookie Banner.6922277k+Missing direct file access protection
#3922Age Gate696113940k+Missing direct file access protection
#3923WP Wand – Unlimited Content Generation using AI – for OpenAI, Claude, Openrouter and Deepseek69452251k+Text Domain Mismatch
#3924Automatic Domain Changer69371410k+Text Domain Mismatch
#3925Black Bar697839500Short PHP open tag found
#3926Chatway Live Chat – AI Chatbot, Customer Support, FAQ & Helpdesk Customer Service & Chat Buttons69222430k+Text Domain Mismatch
#3927Contact Form 769563910m+Missing direct file access protection
#3928Custom Category Template691382k+Missing Arg Domain
#3929Custom Field For WP Job Manager691654900Non-prefixed global variable
#3930Debug6925342k+Input is not sanitized
#3931Debug Bar Rewrite Rules692938800Non-prefixed global variable
#3932DOKU Payment695346400wp function not compatible with requires wp
#3933ELEX WooCommerce Bulk Edit Products, Prices & Attributes (Basic)69511514k+Text Domain Mismatch
#3934ELEX WooCommerce Discount Per Payment Method6960391k+Text Domain Mismatch
#3935Embed Iframe692562k+wp function not compatible with requires wp
#3936Gist All-In-One Marketing – Live Chat, Popups, Email692411500Output is not escaped
#3937Payment Gateway for PhonePe and for Woocommerce691514900Non Singular String Literal Domain
#3938PDF.js Viewer69143820k+Non-prefixed global variable
#3939PrivacyBee – Datenschutz im Autopilot691927600Non-prefixed global variable
#3940Rife Extensions & Templates for Elementor6922720k+Output is not escaped
#3941Simple Mathjax692934k+Short PHP open tag found
#3942SlingBlocks – Gutenberg Blocks by FunnelKit (Formerly WooFunnels)69179526k+Non-prefixed global variable
#3943Easy Username Updater69192810k+Missing Arg Domain
#3944WC Variations Radio Buttons6912213k+Non-prefixed global variable
#3945Export WordPress Menus6994221k+wp function not compatible with requires wp
#3946Zapper Payments691111600Output is not escaped
#3947Add Widget After Content706117k+Setting is missing a sanitization callback
#3948In-feed ads for Google AdSense7020206k+Non-prefixed global variable
#3949AppScenic – Smart AI Dropshipping7016413k+Dynamic hook name
#3950Checkfront Online Booking System7032162k+wp function not compatible with requires wp