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
#3801DataFeedWatch Connector for WooCommerce6416112600Non-prefixed hook name
#3802Disabler6421238900Text Domain Mismatch
#3803Dotdigital for WordPress6441123400Dynamic hook name
#3804ELEX WooCommerce Product Price Custom Text (Before & After Text) and Discount644441372k+Missing Arg Domain
#3805Inactive Logout64307110k+Non-prefixed global variable
#3806Integrate Firebase64267500Output is not escaped
#3807Master Post Advert642641k+Unsafe printing function
#3808MultiSafepay plugin for WooCommerce6413352k+Missing nonce verification
#3809Pageviews6415121k+Missing Translators Comment
#3810Product Import Export for WooCommerce – Import Export Product CSV Suite6424676680k+Non-prefixed global variable
#3811Stancer for WooCommerce642108400Non-prefixed global variable
#3812Twitter6427239k+Missing Translators Comment
#3813WProofreader spell & grammar check plugin for WordPress6412434k+Non-prefixed global variable
#3814Werk aan de Muur644820900Non Singular String Literal Domain
#3815JTL-Connector for WooCommerce6471661k+Direct Query
#3816WP REST Cache641111310k+Direct Query
#3817WP Search with Algolia6426167k+Exception output is not escaped
#3818WPC Shop as a Customer for WooCommerce64538400Request data is not unslashed
#3819YaMaps for WordPress Plugin64213010k+Non-prefixed global variable
#3820Creta Testimonial Showcase6528413k+Non-prefixed global variable
#3821Custom Global Variables6514125k+Output is not escaped
#3822Custom Product Tabs for WooCommerce WP All Import Add-on6518181k+Non-prefixed global variable
#3823Custom Share Buttons with Floating Sidebar65164204k+Text Domain Mismatch
#3824Dashboard Directory Size65329400Missing Arg Domain
#3825Disable REST API65121590k+Output is not escaped
#3826QRCode652139400Non-prefixed constant
#3827Futy.io Leadbots657392k+wp function not compatible with requires wp
#3828License For Envato659289k+Non-prefixed global variable
#3829Notibar – Notification Bar for WordPress6543628k+wp function not compatible with requires wp
#3830T4B News Ticker – Responsive News Scroller, Slider, and Animations6520107k+Output is not escaped
#3831WebberZone Top 10 — Popular Posts653717610k+Database parameter is not escaped
#3832User Last Login65275600Output is not escaped
#3833Web and WooCommerce Addons for WPBakery Builder654971231k+Text Domain Mismatch
#3834Vf Expansion6558521k+Non-prefixed global variable
#3835Websitescanner Custom Schema652819600wp function not compatible with requires wp
#3836Add to Cart Text Changer and Customize Button, Add Custom Icon6587182k+Text Domain Mismatch
#3837USPS Simple Shipping for Woocommerce6520118k+Exception output is not escaped
#3838Ajaxify Comments – Ajax and Lazy Loading Comments6520383k+Non-prefixed hook name
#3839WP Change Default From Email6551710k+Non Singular String Literal Domain
#3840WPC Free Gift Coupons for WooCommerce65825400Non-prefixed class
#3841AC Advanced Flamingo Settings66632700Nonce verification recommended
#3842CP Media Player – Audio Player and Video Player66224483k+Text Domain Mismatch
#3843Bopo – WooCommerce Product Bundle Builder661371351k+Text Domain Mismatch
#3844Calculated fields for ACF665181k+Non-prefixed global variable
#3845Easy PHP Settings6634481k+Missing Translators Comment
#3846FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration6626306k+Missing direct file access protection
#3847HiFi (Head Injection, Foot Injection)6613112k+Output is not escaped
#3848Leadpages6666210k+Direct Query
#3849Page Meta662614700Missing Arg Domain
#3850Product Code for WooCommerce6613541k+Missing direct file access protection