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
#3951Custom Currency for WooCommerce706352k+Missing direct file access protection
#3952WebDefender Security – Protection & AntiSpam70176611k+wp function not compatible with requires wp
#3953Yoast Duplicate Post708884m+Nonce verification recommended
#3954Easy Hotel – Powerful Hotel Booking7041,900800Non-prefixed global variable
#3955FAZ Cookie Manager70315900Non-prefixed hook name
#3956Free Gift Product For WooCommerce70977800Non-prefixed global variable
#3957Ghost702512600Output is not escaped
#3958Host Header Injection Fix7098400Output is not escaped
#3959Xpro Slider For Beaver Builder – Lite7014713500Text Domain Mismatch
#3960Shipping Notices and No shipping options found info for WooCommerce70918400Non-prefixed global variable
#3961Remove Taxonomy Base Slug7012185k+Deprecated parameter: get_terms parameter 2
#3962Ridhi Companion703738500Non-prefixed global variable
#3963Spocket ‑ US & EU Dropshipping7015311k+Direct Query
#3964SQL Executioner7018172k+Non-prefixed global variable
#3965Stitch Express70106400Output is not escaped
#3966SubHeading7022131k+Non Singular String Literal Domain
#3967TP Product Image Flipper for WooCommerce7017159k+Non-prefixed function
#3968Upsell Funnel Builder for WooCommerce – Create Upsells, Cross-Sells, Order Bumps, Frequently Bought, and Popups.7031,4463k+Non-prefixed global variable
#3969WEBKINDER Integration for Google Analytics and Google Tag Manager70152210k+Output is not escaped
#3970Cart All In One For WooCommerce7061505k+Non-prefixed global variable
#3971WP Calorie Calculator7022551k+Non-prefixed global variable
#3972WPThumb70309800Output is not escaped
#3973Download Manager Addons for Elementor70272136k+Non Singular String Literal Domain
#3974Anant Addons for Elementor – Widgets, Templates & WooCommerce Builder7121207700Non-prefixed global variable
#3975Bold Timeline Lite7122056110k+Non-prefixed global variable
#3976BuddyPress Default Data71821400Interpolated SQL is not prepared
#3977Easy Sticky Buttons712116600Short PHP open tag found
#3978Event SEO: Event Schema / Structured Data: Google Rich Snippet Schema for Event712449700Non-prefixed global variable
#3979GPX Viewer711026900Missing Version
#3980Nginx Helper714760200k+Non-prefixed global variable
#3981Print Bangla News7129172k+Output is not escaped
#3982Tax Switch for WooCommerce71320900Non-prefixed hook name
#3983WindPress – Tailwind CSS integration for WordPress71161063k+Non-prefixed hook name
#3984Discount Rules for WooCommerce7110454100k+Non-prefixed global variable
#3985Multi-Step Checkout for WooCommerce71381048k+Non-prefixed global variable
#3986WP Widget in Navigation7137153k+Non Singular String Literal Domain
#3987Amazing Affiliates – Toolkit for Amazon Associates with Amazon Product Blocks and Amazon PAAPI5 / Creators API integration723650600Non-prefixed global variable
#3988Archiiv72630400Non-prefixed global variable
#3989Cloudinary – Deliver Images and Videos at Scale726911345k+Text Domain Mismatch
#3990Discontinued Product Stock Status for WooCommerce72151500Missing nonce verification
#3991PowerBI Embed Reports72320500Nonce verification recommended
#3992EU Order Withdrawal Button for WooCommerce72524064k+Non-prefixed hook name
#3993jQuery Masonry Image Gallery721761k+Unsafe printing function
#3994Media Library Organizer – Folders, File Manager & Media Categories722013020k+Non-prefixed global variable
#3995MemcacheD Is Your Friend7223331k+Non-prefixed function
#3996My-Plugins7224630k+Missing Arg Domain
#3997Responsive Owl Carousel for Elementor7240897k+Non-prefixed global variable
#3998Advanced Datepicker – Restricts Date for Contact Form 77222811400wp function not compatible with requires wp
#3999Robots.txt Editor7210710k+Input is not validated or sanitized
#4000Simple Local Avatars721416100k+Non-prefixed constant