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
#1051Spectra Legacy – Gutenberg Blocks252533,2261m+Non-prefixed global variable
#1052Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor256911,58150k+Non-prefixed global variable
#1053Social Media Share Buttons & Social Sharing Icons252,4331,383100k+Unsafe printing function
#1054Social Share Icons & Social Share Buttons252,3651,35710k+Output is not escaped
#1055Vayu Blocks – Website Builder for the Gutenberg Block Editor251742331k+Text Domain Mismatch
#1056VikAppointments Services Booking Calendar259,7535,207500Output is not escaped
#1057VikBooking Hotel Booking Engine & PMS2513,2518,3168k+Output is not escaped
#1058VikRentCar Car Rental Management System255,5375,0484k+Non-prefixed global variable
#1059VikRestaurants Table Reservations and Take-Away2511,6444,932600Output is not escaped
#10603D viewer by Visody258321,3221k+Non-prefixed global variable
#1061WC Disable Zoom / Lightbox features255291,297700Non-prefixed global variable
#1062Product Customer List for WooCommerce256101,3349k+Non-prefixed global variable
#1063Webcomic25593308600Output is not escaped
#1064weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot252795184k+Non-prefixed global variable
#1065weForms – Easy Drag & Drop Contact Form Builder For WordPress2591645010k+Output is not escaped
#1066Advanced Shipment Tracking for WooCommerce2549970460k+Non-prefixed global variable
#1067Secure Gateway for Authorize.net and WooCommerce by Pledged Plugins259071,41810k+Non-prefixed global variable
#1068Bulk Edit Products for WooCommerce – WP Sheet Editor2595796810k+Text Domain Mismatch
#1069Digital Goods (Checkout Field Editor) for WooCommerce Checkout255391,4793k+Non-prefixed global variable
#1070Dynamic Pricing and Discount Rules for WooCommerce255311,569600Non-prefixed global variable
#1071Bulk Edit Coupons for WooCommerce – WP Sheet Editor251,022982500Text Domain Mismatch
#1072Flat Rate Shipping Method for WooCommerce251,2421,7785k+Non-prefixed global variable
#1073WFatture for WooCommerce Fattureincloud25229774800Non-prefixed global variable
#1074XT Floating Cart for WooCommerce251,2321,9854k+Non-prefixed global variable
#1075PDF Builder for WooCommerce. Create invoices,packing slips and more253725032k+Non-prefixed global variable
#1076Product Table for WooCommerce251838965k+Non-prefixed global variable
#1077Payment Plugins for Stripe WooCommerce25349779100k+Non-prefixed global variable
#1078Pay with Vipps and MobilePay for WooCommerce258465145k+Output is not escaped
#1079HUSKY – Products Filter Professional for WooCommerce251,89590k+Non-prefixed global variable
#1080Wordfence Login Security2524841860k+Output is not escaped
#1081WordPress Importer252381102m+Output is not escaped
#1082WP 2FA – Two-factor authentication for WordPress25283716100k+Non-prefixed global variable
#1083WP Airbnb Review Slider253256461k+Non-prefixed global variable
#1084Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals2514335760k+Input is not sanitized
#1085Comments Extra Fields For Post,Pages and CPT25577418500Text Domain Mismatch
#1086WP Coupons and Deals – WordPress Coupon Plugin259141,4601k+Non-prefixed global variable
#1087WP-DownloadManager256075083k+Unsafe printing function
#1088WP Review Slider251,1862,2796k+Non-prefixed global variable
#1089WP Go Maps – Google Map, OpenStreetMap, Leaflet Map254,9961,008300k+Unsafe printing function
#1090WP Google Review Slider251,3662,58430k+Non-prefixed global variable
#1091WP Encryption – No.1 HTTPS plugin & One Click Free SSL Cert, HTTPS Redirect, SSL Security258751,76450k+Non-prefixed global variable
#1092Nested Pages2567456090k+Non-prefixed global variable
#1093WP Photo Album Plus2541,80710k+Direct Query
#1094WP-Polls2561863940k+Unsafe printing function
#1095WP Popups – WordPress Popup builder2544034230k+Output is not escaped
#1096Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF2515811860k+Non-prefixed global variable
#1097Bulk Edit Posts and Products in Spreadsheet259349448k+Text Domain Mismatch
#1098SlimStat Analytics251,17787070k+Exception output is not escaped
#1099Smush – Image Optimization, Compression, Lazy Load, WebP & CDN252445681m+Non-prefixed hook name
#1100Wp Social Login and Register Social Counter258073890k+Non-prefixed global variable