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
#1601GS Pinterest Portfolio – Pins Grid, Masonry, User Profile, Popup & Board Widgets314021561k+Text Domain Mismatch
#1602HFD ePost Integration311861101k+Text Domain Mismatch
#1603HT Easy GA4 – Google Analytics WordPress Plugin31475936k+Text Domain Mismatch
#1604Image Hotspot – Map Image Annotation31952873k+Non-prefixed global variable
#1605ImgSEO – AI Image Alt Text Generator & Image SEO Tools311677400Direct Query
#1606Interactive Image Map Builder311603811k+Non-prefixed global variable
#1607Kindeditor For WordPress3163130500Non-prefixed global variable
#1608Linguise – AI Automatic Multilingual Translation31612841k+Non-prefixed global variable
#1609Keywords to Links Converter31288144700Text Domain Mismatch
#1610Login rebuilder3140622620k+Non Singular String Literal Domain
#1611Activity Logs, User Activity Tracking, Multisite Activity Log from Logtivity311221312k+Output is not escaped
#1612Mailgun for WordPress311447580k+Unsafe printing function
#1613MainWP Dashboard: Self-hosted WordPress Management for Agencies319531720k+Interpolated SQL is not prepared
#1614Melapress Login Security31692782k+Non-prefixed global variable
#1615Openpay Cards Plugin311661053k+Text Domain Mismatch
#1616Openpay Stores Plugin31121751k+Non-prefixed global variable
#1617PanoPress311112342k+Output is not escaped
#1618Patreon WordPress312763393k+Output is not escaped
#1619Podamibe Simple Footer Widget Area31596572k+wp function not compatible with requires wp
#1620Pop-up311039110k+Output is not escaped
#1621Portfolio, Gallery, Product Catalog – Grid KIT Portfolio31613296k+Non-prefixed global variable
#1622Product Configurator for WooCommerce31415623k+Non-prefixed hook name
#1623Active Products Tables for WooCommerce. Use constructor to create tables313644241k+Output is not escaped
#1624Push notification for Mobile and Web app318783400Non Singular String Literal Domain
#1625Qi Blocks314634560k+Non-prefixed global variable
#1626Qode Essential Addons315529510k+Non-prefixed global variable
#1627Query Monitor3144273200k+Non-prefixed class
#1628Raffle Play Woocommerce31151199800Output is not escaped
#1629Re:amaze Helpdesk & Live Chat3196115400Output is not escaped
#1630reCAPTCHA in WP comments form31264608k+Output is not escaped
#1631Accordion FAQ – Compatible With All Page Builder (Elementor, Gutenberg)3146020130k+Non Singular String Literal Domain
#1632Coming Soon Page & Maintenance Mode316132663k+Text Domain Mismatch
#1633Social Share Buttons314621561k+Text Domain Mismatch
#1634Simple calendar for Elementor31125270500Direct Query
#1635Smart Keywords Tool – 智能关键词插件3136133600Non Singular String Literal Domain
#1636SpeedyCache – Cache, Optimization, Performance3165118600k+Input is not validated
#1637Staatic – Static Site Generator for WordPress314201952k+SQL query is not prepared
#1638Swatchly – Product Variation Swatches for WooCommerce315402145k+Output is not escaped
#1639Team Builder – Team Member Showcase With Grid and slider, Compatible With Elementor, Gutenberg314592827k+Non Singular String Literal Domain
#1640WP Testimonials3118345510k+Non-prefixed global variable
#1641Themify Store Locator31244125500Text Domain Mismatch
#1642Tutor LMS Elementor Addons3122745330k+Non-prefixed global variable
#1643Big File Uploads – Increase Maximum File Upload Size3110192100k+Output is not escaped
#1644Ultimate Posts Widget313098610k+Output is not escaped
#1645Blacklist Manager – WooCommerce Anti-Fraud, Blacklist & Checkout Verification312958762k+Missing nonce verification
#1646Web Push Notifications – Webpushr3116929310k+Output is not escaped
#1647Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets31837295100k+Unsafe printing function
#1648Return Refund and Exchange For WooCommerce31247134k+Non-prefixed global variable
#1649WCPOS – Point of Sale (POS) plugin for WooCommerce31752265k+Nonce verification recommended
#1650Tooltips for WordPress313122525k+Output is not escaped