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
#3001EmailKit – Email Customizer for WooCommerce & WP73188170k+slow db query meta query
#3002EXMAGE – WordPress Image Links7314347k+Missing Arg Domain
#3003jQuery Lightbox For Native Galleries732675k+Text Domain Mismatch
#3004Mortgage Calculators WP73181233k+Non-prefixed global variable
#3005Remove Taxonomy URL7317161k+Output is not escaped
#3006Comment Edit Core – Simple Comment Editing7327852k+Non-prefixed hook name
#3007Simple Image Popup732151k+Output is not escaped
#3008Change Storefront Footer Copyright Text7372214k+Text Domain Mismatch
#3009Video Background Block – Use video as background in section.7333922k+Non-prefixed global variable
#3010Admin Columns for ACF Fields74789k+Output is not escaped
#3011Custom Icons for Elementor and WPBakery74353810k+Non-prefixed global variable
#3012Free Shipping Label and Progress Bar for WooCommerce74605k+Non-prefixed hook name
#3013RD Station7426720k+Non-prefixed global variable
#3014Keon Toolset7442830k+Non-prefixed function
#3015Markup Markdown74181282k+Non-prefixed global variable
#3016Elements For Elementor74393710k+Non-prefixed global variable
#3017WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation7411601k+Database parameter is not escaped
#3018Plugin Notes Plus742429k+Non-prefixed hook name
#3019Post My CF7 Form74211682k+Non-prefixed global variable
#3020Product Layouts for WooCommerce745751k+Direct Query
#3021QODE Optimizer74124920k+Non-prefixed global variable
#3022Resume Builder7420591k+Non-prefixed global variable
#3023Security Headers7431113k+Deprecated parameter: unregister_setting parameter 3
#3024Show Pages IDs748810k+Output is not escaped
#3025Simple Slug Translate743231k+Non Singular String Literal Domain
#3026Widgets in Menu for WordPress7416128k+Text Domain Mismatch
#3027WP API SwaggerUI7416142k+Missing direct file access protection
#3028WP-Sweep741201100k+Direct Query
#3029Acumbamail757361k+Non-prefixed global variable
#3030Admin Locale7512107k+Missing Arg Domain
#3031Anchor Episodes Index (Spotify for Podcasters)753231k+Text Domain Mismatch
#3032Custom Adobe Fonts (Typekit)75113360k+Non-prefixed global variable
#3033Customize Twenty Seventeen7533192k+Text Domain Mismatch
#3034Easy Accordion – AI-Powered FAQ & Accordion Blocks, Product FAQ7530680k+Non-prefixed global variable
#3035Headers Security Advanced & HSTS WP75201090k+Missing Translators Comment
#3036Intuitive Custom Post Order751996400k+Direct Query
#3037Invoice Gateway for WooCommerce – Invoice Payment Gateway753302k+Nonce verification recommended
#3038PJ News Ticker7513143k+Output is not escaped
#3039Services Section Block – Showcase Service Details in Grid or Columns759192k+Non-prefixed namespace
#3040Matterport Shortcode7521303k+Text Domain Mismatch
#3041Styleguide – Custom Fonts and Colors7559252k+Missing direct file access protection
#3042Testimonial – Testimonial Slider and Showcase Plugin7556323130k+Text Domain Mismatch
#3043Brazilian Market on WooCommerce7545170k+Missing nonce verification
#3044wp-forecast752631175k+Missing Arg Domain
#3045WP Hide Dashboard756102k+trademarked term
#3046WP-HTML-Compression757221k+Input is not sanitized
#3047Addonify – WooCommerce Wishlist7630431k+Non-prefixed global variable
#3048Ajax Cart AutoUpdate for WooCommerce761558k+Output is not escaped
#3049Ajax Search Lite – Live Search & Filter7612626480k+Non-prefixed hook name
#3050Autocomplete WooCommerce Orders76705530k+Text Domain Mismatch