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
#3851Page Meta662614700Missing Arg Domain
#3852Product Code for WooCommerce6613541k+Missing direct file access protection
#3853Product Size Chart For WooCommerce669226k+Non-prefixed hook name
#3854Raw HTML66173510k+Non-prefixed function
#3855Really Simple CSV Importer6638840k+Output is not escaped
#3856Shortcode for Current Date66271210k+Text Domain Mismatch
#3857Ajax add to cart for WooCommerce66673110k+Text Domain Mismatch
#3858Frenet Shipping Gateway for WooCommerce – Correios, Etiquetas e Rastreio6622314k+Non-prefixed global variable
#3859Raptive Ads6734316k+Text Domain Mismatch
#3860Awesome Contact Form7 for Elementor6720307k+Non-prefixed global variable
#3861Breadcrumbs Divi Module67443810k+Text Domain Mismatch
#3862Caddy – WooCommerce Side Cart & Free Shipping Bar67381994k+Non-prefixed global variable
#3863Card Elements for Elementor67151163k+Non-prefixed global variable
#3864EU Cookies Bar for WordPress673699k+Request data is not unslashed
#3865Flexible Product Fields (WooCommerce Product Addons) – WooCommerce Product Page Editor67579810k+Non-prefixed global variable
#3866WordPress.com Editing Toolkit6752901k+Missing direct file access protection
#3867GravityExport Lite for Gravity Forms67481410k+Output is not escaped
#3868Hide Page And Post Title6711840k+Output is not escaped
#3869Kraken.io Image Optimizer – Compress, Convert to WebP & AVIF, Resize & Bulk Optimize67293809k+Text Domain Mismatch
#3870Mailster Gmail Integration6715131k+Missing Translators Comment
#3871Manage Upload Types67713400Output is not escaped
#3872Map Block Leaflet67527700Short PHP open tag found
#3873Meks Audio Player672571k+Output is not escaped
#3874Mosaic Gallery – Advanced Gallery6745793k+Non-prefixed global variable
#3875Notely67617600Non-prefixed function
#3876onOffice for WP-Websites6755071k+Non-prefixed global variable
#3877Printful Integration for WooCommerce672187650k+Text Domain Mismatch
#3878Product Specifications for Woocommerce6712801k+Non-prefixed global variable
#3879Product Variations Swatches for WooCommerce67813610k+Non-prefixed global variable
#3880Recurio – Ultimate Subscription for WooCommerce673111k+Direct Query
#3881Safelayout Elegant Icons – WordPress icons67317700Input is not validated
#3882Simple HTTPS671713400Output is not escaped
#3883Text Expander675015600wp function not compatible with requires wp
#3884WebToffee WooCommerce Product Feeds – Google Shopping, Pinterest, TikTok Ads, & More671782,8992k+Non-prefixed hook name
#3885Expand Tabs for WooCommerce6710571k+Non-prefixed global variable
#3886WP Image Zoom67304610k+Non-prefixed global variable
#3887WP SMTP Mailer – SMTP7672339k+Request data is not unslashed
#3888wp-Typography67913320k+Missing direct file access protection
#3889WPC Show Single Variations for WooCommerce675311k+Nonce verification recommended
#3890Autoclear Autoptimize Cache681638k+Output is not escaped
#3891Book Previewer for Woocommerce6823401k+Non-prefixed global variable
#3892Booter – Bots & Crawlers Manager68817k+Non-prefixed global variable
#3893Clearout Email Validator – Real-Time Email Verification on WordPress Forms682180600Non-prefixed function
#3894Content Security Policy Manager681922k+Output is not escaped
#3895Default Attributes for WooCommerce682218400Non-prefixed hook name
#3896Desert Companion6841283720k+Non-prefixed global variable
#3897Export media with selected content (by DKZR)68101440k+Direct Query
#3898Faire for WooCommerce68486800Direct Query
#3899Logo Switcher68142800Output is not escaped
#3900Mailster Contact Form 76835201k+Text Domain Mismatch