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
#101WebP Express21160427300k+Non-prefixed global variable
#102Wise Chat214705065k+Output is not escaped
#103WooCommerce211,3596,1727m+Non-prefixed global variable
#104Booster for WooCommerce – PDF Invoices, Abandoned Cart, Variation Swatches & 100+ Tools217863,39530k+Non-prefixed global variable
#105Pay For Post with WooCommerce219601,4741k+Non-prefixed global variable
#106PPOM – Product Addons & Custom Fields for WooCommerce213361,32220k+Non-prefixed global variable
#107Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+Output is not escaped
#108WP-Lister Lite for eBay216,6975,1292k+Output is not escaped
#109WP phpMyAdmin214,5286,43550k+Missing Arg Domain
#110wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin211,8111,43270k+Output is not escaped
#111Premium Packages – Sell Digital Products Securely212,7652,4443k+Output is not escaped
#112WPScan – WordPress Security Scanner215272658k+Text Domain Mismatch
#113Frontend Admin by DynamiApps225,9223,20810k+Text Domain Mismatch
#114Advanced Ads – Ad Manager & AdSense22578734100k+Non-prefixed global variable
#115Advanced Classifieds & Directory Pro221,2293,5112k+Non-prefixed global variable
#116Advanced Form Integration — Connect Forms to 200+ Apps225,7714,67810k+wp function not compatible with requires wp
#117Ajax Load More – Infinite Scroll, Load More, & Lazy Load2264159540k+Unsafe printing function
#118All-in-One Video Gallery229112,89220k+Non-prefixed global variable
#119Booking for Appointments and Events Calendar – Amelia221,48948090k+Exception output is not escaped
#120Shortcodes and extra features for Phlox theme2241342690k+Output is not escaped
#121Knowledge Base documentation & wiki plugin – BasePress Docs226711,7672k+Non-prefixed global variable
#122Borderless – Addons and Templates for Elementor224381,3885k+Non-prefixed global variable
#123Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots221,6042,01910k+Direct Query
#124BuddyPress225839,008100k+Non-prefixed function
#125Better WordPress Minify224124848k+Non Singular String Literal Domain
#126Captcha by BestWebSoft – Advanced Spam Protection, Math & OCR-Friendly Captcha for Site Forms2249329510k+Text Domain Mismatch
#127Divi Carousel Lite – 17+ Carousel Module229671,27510k+Non-prefixed global variable
#128Cleanup Action Scheduler225451,3061k+Non-prefixed global variable
#129Clearfy Cache – WordPress optimization plugin, Minify HTML, CSS & JS, Defer222,8581,27050k+Text Domain Mismatch
#130Code Profiler – WordPress Performance Profiling and Debugging Made Easy222654008k+Non-prefixed global variable
#131Passster – Password Protect Pages and Content225391,41910k+Non-prefixed global variable
#132Cozy Blocks – Page Builder for Gutenberg Editor & FSE with 500+ Patterns, 57 Blocks & Templates222,1674,1757k+Non-prefixed global variable
#133RegistrationMagic – Custom Registration Forms, User Registration, Payment, and User Login223,6545,0618k+Non-prefixed global variable
#134WP Customer Area223,30894110k+Text Domain Mismatch
#135SysBasics Customize My Account for WooCommerce – Dashboard, Endpoints, Avatar & Menu Manager227468528k+Non-prefixed global variable
#136Data Tables Generator by Supsystic2215715010k+Exception output is not escaped
#137Directorist: AI-Powered Business Directory, Listings & Classified Ads224432,12920k+Non-prefixed global variable
#138Download Manager222,2901,301100k+Output is not escaped
#139Dynamic QR Code – generator222382086k+Missing direct file access protection
#140E2Pdf – Export Pdf Tool for WordPress221,07583610k+Unsafe printing function
#141Easy Social Feed – Social Photos Gallery and Post Feed for WordPress221,5671,27730k+Non-prefixed global variable
#142EleSpare – News, Magazine and Blog Addons for Elementor227331,42310k+Non-prefixed global variable
#143Events Manager – Calendar, Bookings, Tickets, and more!224,7225,62170k+Output is not escaped
#144Falang multilanguage for WordPress227167691k+Output is not escaped
#145File Manager Pro – Filester22565391100k+Request data is not unslashed
#146Finale Lite – Sales Countdown Timer & Discount for WooCommerce221,0314514k+Output is not escaped
#147FireBox Popups – Increase Sales and Grow Your Email List221538127k+Non-prefixed global variable
#148Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder22409236700k+Text Domain Mismatch
#149Notification Bar, Announcement and Cookie Notice WordPress Plugin – FooBar221,3211,3713k+Non-prefixed global variable
#150Five Star Restaurant Menu and Food Ordering227526095k+Output is not escaped