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
#1751WooMS3219958500Output is not escaped
#1752WP 2-step verification32154651k+Output is not escaped
#1753WP Bannerize Pro32281216800Text Domain Mismatch
#1754WP fail2ban – Advanced Security327515360k+Dynamic hook name
#1755wp-jalali322196610k+Text Domain Mismatch
#1756WP Popup32539651k+Text Domain Mismatch
#1757SEOPress – AI SEO Plugin & On-site SEO32138429300k+Non-prefixed global variable
#1758WP-Stats322371262k+Output is not escaped
#1759WP Weixin3260152400Non-prefixed constant
#1760WPCasa – Real Estate for WordPress32854291k+Non-prefixed global variable
#1761wpDirAuth32250135500wp function not compatible with requires wp
#1762Privacy Policy Generator – WPLP Legal Pages322640910k+Non-prefixed global variable
#1763YITH Infinite Scrolling323871,41710k+Non-prefixed global variable
#1764YITH WooCommerce Badge Management324131,44610k+Non-prefixed global variable
#1765YITH WooCommerce Compare324221,508100k+Non-prefixed global variable
#1766YITH WooCommerce Quick View323881,42090k+Non-prefixed global variable
#1767Advanced Coupons for WooCommerce Coupons & Store Credit338421520k+Non-prefixed global variable
#1768Advanced Forms for ACF331692783k+Non-prefixed hook name
#1769AI WP Writer – SEO content generator, chatGPT, Gemini335815313k+Text Domain Mismatch
#1770App Builder – Create Native Android & iOS Apps On The Flight3373119600Text Domain Mismatch
#1771Archive Posts Sort Customize3333897600Output is not escaped
#1772Premium Portfolio Features for Phlox theme3320413740k+Output is not escaped
#1773AWeber – Free Sign Up Form and Landing Page Builder Plugin for Lead Generation and Email Newsletter Growth33332299k+Non-prefixed global variable
#1774Awesome Widgets for SiteOrigin Page Builder3331459500Text Domain Mismatch
#1775Background Per Page338056700Text Domain Mismatch
#1776Ultimate Before After Image Slider & Gallery – BEAF334888730k+Text Domain Mismatch
#1777Activity Plus Reloaded for BuddyPress3388931k+Output is not escaped
#1778Five Star Business Profile and Schema332891387k+Output is not escaped
#1779Addi – Cuotas que se adaptan a ti331062092k+Direct Query
#1780Nexi XPay334962776k+Text Domain Mismatch
#1781CartPops – High Converting Add To Cart Popup For WooCommerce33631884k+Non-prefixed global variable
#1782Century ToolKit3311878700Output is not escaped
#1783Chartify – WordPress Chart Plugin33764113k+Non-prefixed global variable
#1784Civic Cookie Control331,8812192k+Text Domain Mismatch
#1785Clicky Analytics331669210k+Output is not escaped
#1786Contact Form Plugin33472202k+Non-prefixed function
#1787Contact List – Online Staff Directory & Address Book331183421k+Nonce verification recommended
#1788Chwazi – Delivery & Pickup Scheduling for WooCommerce33563192600Text Domain Mismatch
#1789Device Detector33209112600Output is not escaped
#1790DJ-Accessibility – Accessibility Plugin33370483k+Text Domain Mismatch
#1791Easy Timer33784501k+Non-prefixed global variable
#1792Easy Upload Files During Checkout33218199500Unsafe printing function
#1793EchBay Phonering Alo3374471k+Output is not escaped
#1794Human Presence – Stop Form Spam Without ReCaptcha3354651k+Request data is not unslashed
#1795Meta for WooCommerce3368189400k+Non-prefixed hook name
#1796FastPixel Cache – Optimize Page Speed: Compress Images, Minify, Clean Database & CDN33523424k+Request data is not unslashed
#1797Gallery Custom Links33646230k+Non Singular String Literal Domain
#1798GDPR Cookie Compliance – Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law3348370300k+Non-prefixed global variable
#1799GetResponse Forms by Optin Cat33681381k+Missing direct file access protection
#1800WP GIF Uploader33117441k+Text Domain Mismatch