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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#3101Shipping Live Rates for FedEx for WooCommerce964102k+Non Prefixed Variable Found
#3102Shipping Live Rates for USPS for WooCommerce964112k+Non Prefixed Variable Found
#3103Float menu – awesome floating side menu96910330k+Non Prefixed Variable Found
#3104Force Refresh9615134k+missing direct file access protection
#3105Fresh Forms for Gravity96763k+Non Prefixed Constant Found
#3106Kit (formerly ConvertKit) for WPForms9611161k+Non Prefixed Variable Found
#3107Meta Box96516500k+Non Prefixed Hookname Found
#3108Divi Masonry Gallery – Pro Gallery9654162k+Text Domain Mismatch
#3109QODE Variation Swatches for WooCommerce961871k+Non Prefixed Variable Found
#3110Widgets for Airbnb Reviews963456k+Non Prefixed Variable Found
#3111Widgets for Amazon Reviews963482k+Non Prefixed Variable Found
#3112Widgets for Yelp Reviews963452k+Non Prefixed Variable Found
#3113Simple GDPR Cookie Compliance9610165k+Non Prefixed Variable Found
#3114ThemeZee Magazine Blocks968514k+Non Prefixed Variable Found
#3115Top Level Categories96512k+Non Prefixed Variable Found
#3116Display Eventbrite Events96313k+error log print r
#3117Cart Weight for WooCommerce965121k+Non Prefixed Variable Found
#3118Variation Images Gallery for WooCommerce968710k+Non Prefixed Variable Found
#3119Claudio Sanches – Correios for WooCommerce9681530k+Non Prefixed Variable Found
#3120Htaccess File Editor – Safely Edit Htaccess File9641540k+Non Prefixed Variable Found
#3121WP Reset96831300k+Non Prefixed Variable Found
#3122WPC Linked Variation for WooCommerce9610153k+wp function not compatible with requires wp
#3123WPC Product Videos for WooCommerce965153k+Non Prefixed Class Found
#3124WPC Sticky Add To Cart for WooCommerce965172k+Non Prefixed Class Found
#3125301 Redirects & 404 Error Log9742030k+Non Prefixed Variable Found
#3126Accessibility Widget by OneTap – Easy One-Click Accessibility Toolbar9751850k+Non Prefixed Variable Found
#3127ACF: Better Search97111040k+missing direct file access protection
#3128Advanced Google reCAPTCHA97315200k+Non Prefixed Variable Found
#3129atec Cache Info972311k+wp function not compatible with requires wp
#3130Before + After Images for Divi971233k+missing direct file access protection
#3131Booking.com Product Helper97281k+Non Prefixed Variable Found
#3132Captcha Code971712100k+wp function not compatible with requires wp
#3133Categories in Hierarchical Order97152k+Non Prefixed Function Found
#3134Creativ Demo Importer971402k+Non Prefixed Variable Found
#3135Custom Shipping Methods for WooCommerce – Create Weight based Shipping, Conditional Shipping, Table Rate Shipping and much more972323k+Non Prefixed Variable Found
#3136Meta Field Block – Display custom fields in the Block Editor without coding9711110k+Non Prefixed Hookname Found
#3137Email Customizer for WooCommerce | Drag and Drop Email Templates Builder97659k+Non Prefixed Hookname Found
#3138Flexible Cookies975393k+Non Prefixed Variable Found
#3139FlexiType Lite972141k+Non Prefixed Variable Found
#3140Gallery Block by Galleryberg: Lightbox with Tiles, Masonry, Square, & Justified Layouts971321k+Non Prefixed Variable Found
#3141Genesis Portfolio Pro979165k+Non Prefixed Variable Found
#3142Address Autocomplete via Google for Gravity Forms971252k+Non Prefixed Variable Found
#3143GutenBee – Gutenberg Blocks977107k+missing direct file access protection
#3144Laravel DD for WordPress97361k+Non Prefixed Function Found
#3145Loggedin – Limit Concurrent Sessions971178k+missing direct file access protection
#3146No Right Click Images97141320k+wp function not compatible with requires wp
#3147Olark Live Chat973161k+Non Prefixed Variable Found
#3148Order Export for WooCommerce97312k+Missing Version
#3149Performant Translations975940k+Non Prefixed Variable Found
#3150PowerFolio – Portfolio & Image Gallery for Elementor97101210k+Non Prefixed Hookname Found