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
#4001TinyPNG – JPEG, PNG & WebP image compression724073100k+Non-prefixed global variable
#4002Video Backgrounds for SiteOrigin Page Builder725552k+Text Domain Mismatch
#4003Place Order Without Payment for WooCommerce72244623k+Text Domain Mismatch
#4004Direct Checkout for WooCommerce72773580k+Text Domain Mismatch
#4005AffiliateWP – Allowed Products7347191k+Text Domain Mismatch
#4006Albacross for WordPress731851k+Text Domain Mismatch
#4007AADMY – Add Auto Date Month Year Into Posts733032400Non-prefixed function
#4008Bestfreebie Elementor Icons732713400Text Domain Mismatch
#4009EU Withdrawal Button for WooCommerce7327400Missing nonce verification
#4010EXMAGE – WordPress Image Links7314347k+Missing Arg Domain
#4011Freetobook Responsive Widget73514500Input is not sanitized
#4012Infinite Notification – Sales Notification Plugin73135500Setting is missing a sanitization callback
#4013International Phone Number Format735120400Text Domain Mismatch
#4014jQuery Lightbox For Native Galleries732674k+Text Domain Mismatch
#4015Mortgage Calculators WP73181233k+Non-prefixed global variable
#4016Plugin Groups7316121k+Non Singular String Literal Domain
#4017Remove Taxonomy URL7317161k+Output is not escaped
#4018Restaurant Food Menu by WP Darko – Drag & Drop Restaurant Menu Builder for WordPress73168400Non-prefixed global variable
#4019Comment Edit Core – Simple Comment Editing7327852k+Non-prefixed hook name
#4020Simple Image Popup732151k+Output is not escaped
#4021Theme Inspector73237400Output is not escaped
#4022Timeline Express – No Icons Add-On73109700Output is not escaped
#4023TOCHAT.BE73271800Request data is not unslashed
#4024Admin Columns for ACF Fields74789k+Output is not escaped
#4025AffiliateWP – Sign Up Bonus744613400Text Domain Mismatch
#4026Append Link on Copy74235800Output is not escaped
#4027Clean WP Admin Menu741913600Non Singular String Literal Domain
#4028Custom Icons for Elementor and WPBakery74353810k+Non-prefixed global variable
#4029Datareporter Webcare741221700Non-prefixed global variable
#4030ELEX WooCommerce USPS Shipping Method7413945900Text Domain Mismatch
#4031EmailKit – Email Customizer for WooCommerce & WP74178270k+slow db query meta query
#4032Free Shipping Label and Progress Bar for WooCommerce74605k+Non-prefixed hook name
#4033Gravity Forms Multi Currency74612400Output is not escaped
#4034Highlight and Share – Unobtrusive and Lightweight Content Sharing7412115800Non-prefixed hook name
#4035RD Station746520k+Non-prefixed global variable
#4036Keon Toolset7442830k+Non-prefixed function
#4037Markup Markdown74181282k+Non-prefixed global variable
#4038Multiple Roles748185k+Non-prefixed global variable
#4039Elements For Elementor74393710k+Non-prefixed global variable
#4040Plugin Notes Plus742429k+Non-prefixed hook name
#4041Post My CF7 Form74211682k+Non-prefixed global variable
#4042Product Layouts for WooCommerce745751k+Direct Query
#4043QODE Optimizer74124930k+Non-prefixed global variable
#4044WP All Import – Property Import for RealHomes741712700Output is not escaped
#4045Resume Builder7420591k+Non-prefixed global variable
#4046Security Headers7431113k+Deprecated parameter: unregister_setting parameter 3
#4047Show Pages IDs748810k+Output is not escaped
#4048Simple Slug Translate743231k+Non Singular String Literal Domain
#4049Simply Excerpts74121500Setting is missing a sanitization callback
#4050Image Quality Control | Still BE747128400Missing Translators Comment