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
#3551Disable Comments – Remove Comments & Stop Spam [Multi-Site Support]5315461m+Non-prefixed global variable
#3552Export Custom Pages532219700Output is not escaped
#3553FakerPress536615210k+Non-prefixed global variable
#3554LearnPress – bbPress Integration5319142k+Output is not escaped
#3555LuckyWP ACF Menu Field534695k+Short PHP open tag found
#3556MOBILOOK — Mobile View & Mobile‑Friendly Test5310201k+Missing nonce verification
#3557ONTRApages5316271k+Output is not escaped
#3558Pinterest for WooCommerce534430300k+Exception output is not escaped
#3559pretix widget532539400Non-prefixed global variable
#3560Pure Metafields53513010k+Non-prefixed global variable
#3561Royal WordPress Backup, Restore & Migration Plugin – Backup WordPress Sites Safely53349020k+Database parameter is not escaped
#3562Shamor535512400wp function not compatible with requires wp
#3563Simple Blog Stats5325764k+Non-prefixed function
#3564Simple Masonry Layout5328281k+Output is not escaped
#3565Morning for WooCommerce537591k+Non-prefixed global variable
#3566Weight Based Shipping for WooCommerce53484160k+Missing direct file access protection
#3567Widget Context53142040k+Non-prefixed hook name
#3568WP Console – WordPress PHP Console powered by PsySH53344820k+Exception output is not escaped
#3569WP User Switch538461k+Input is not sanitized
#3570aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder5483822k+Non-prefixed global variable
#3571AffiliateWP – Order Details For Affiliates5462272k+Output is not escaped
#3572Analytics Head54347600Output is not escaped
#3573Anant Addons for Elementor – Widgets, Templates & WooCommerce Builder5429207800Non-prefixed global variable
#3574Better Admin Bar5427633k+Non-prefixed global variable
#3575Blockskit5433298k+Text Domain Mismatch
#3576Disqus Comment System54173340k+Non-prefixed hook name
#3577Easy Elementor Addons – Addons Pack for Elementor Page Builder5435681k+Post Not In exclude
#3578Helpie FAQ — Accordion, Docs & Knowledge Base5496899k+Nonce verification recommended
#3579ImageMagick Sharpen Resized Images542261k+Output is not escaped
#3580PWA — easy way to Progressive Web App5415442k+Dynamic hook name
#3581MSN Partner Hub5421251k+Missing direct file access protection
#3582Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE5434493300k+Offloaded Content
#3583Quick Buy Now Button for WooCommerce541362540k+Text Domain Mismatch
#3584REST XML-RPC Data Checker541445900Input is not sanitized
#3585AI Agent by SiteGround542861m+Exception output is not escaped
#3586Simple XML Sitemap Generator548283k+Non-prefixed function
#3587SimplyBook.me – Booking and reservations calendar54311330k+Exception output is not escaped
#3588SmartFormat feed for SmartNews5464271k+Missing Arg Domain
#3589SpeedSize Image & Video AI-Optimizer549817400Text Domain Mismatch
#3590Sticky Floating Forms Lite542629900Non-prefixed global variable
#3591Tax Switch for WooCommerce541532900Nonce verification recommended
#3592Post Badges541913400Output is not escaped
#3593WP Call Button – Easy Click to Call Button for WordPress54213840k+Non-prefixed global variable
#3594WP Menu Icons54685220k+Text Domain Mismatch
#3595WP Post Navigation5414231k+Output is not escaped
#3596WP Social Preview543315800Non Singular String Literal Domain
#3597WebinarPress – Webinar System for WordPress5461499900Non-prefixed global variable
#3598Yeloni Exit Popup | (Free) GDPR Compliance544112700Output is not escaped
#3599YITH Proteo Toolkit54130641k+Text Domain Mismatch
#3600Accordions55110120k+slow db query meta query