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
#3601Accordions55110120k+slow db query meta query
#3602Admin Bar User Switching5516312k+Input is not validated
#3603Advanced Custom Order Status for WooCommerce554433500Text Domain Mismatch
#3604AI Assistant for Elementor – Auto Content Writer, OpenAI, ChatGPT5515124400Text Domain Mismatch
#3605Auto Image Alt Attribute552676k+Unsafe printing function
#3606Email Template Customizer for WooCommerce5555224820k+Text Domain Mismatch
#3607Gutenify – Visual Site Builder Blocks & Site Templates5566405k+Missing Arg Domain
#3608Head, Footer and Post Injections55952300k+Non-prefixed global variable
#3609Holded integration5572232k+Non Singular String Literal Domain
#3610Insert Pages55523040k+Output is not escaped
#3611JetWidgets For Elementor559927910k+Non-prefixed global variable
#3612Landingi Landing Pages5518232k+Input is not sanitized
#3613LifterLMS Labs555182k+Output is not escaped
#3614LoginPress | wp-login Custom Login Page Customizer55124301200k+Non-prefixed function
#3615Mailster for WooCommerce5523321k+Non-prefixed global variable
#3616Marvy – Background Animations for Elementor5563344k+Text Domain Mismatch
#3617Page Animations And Transitions5589671k+Non Singular String Literal Domain
#3618Popup Maker – Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder5554692700k+Non-prefixed hook name
#3619Popup Maker – Responsive popup, Exit Intent Pop up, Email Optins, Autoresponder & More5544647k+Text Domain Mismatch
#3620Refer A Friend for WooCommerce by WPGens5577211k+Text Domain Mismatch
#3621Semrush Content Toolkit5522242k+Non-prefixed global variable
#3622Slider & Carousel Block by Sliderberg5523181k+Output is not escaped
#3623Text Changer for Welcart5547743500Text Domain Mismatch
#3624Themeflection Numbers – Number Counter and Animated Numbers55224733k+Text Domain Mismatch
#3625VS Contact Form5533187k+Non-prefixed global variable
#3626VK Block Patterns55861100k+Non-prefixed function
#3627AAArdvark Accessibility Reports556242600Non-prefixed global variable
#3628WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System5522355k+Output is not escaped
#3629WP Ultimate Review552338170k+Non-prefixed global variable
#3630WPC Smart Messages for WooCommerce556841k+Non-prefixed global variable
#3631Advanced Floating Content Lite5688497k+Text Domain Mismatch
#3632AI Copilot – ChatGPT Chatbot & AI Engine for Post Automation5665201k+Text Domain Mismatch
#3633Anti-Captcha (anti-spam botblocker)5623261k+rand mt rand
#3634BuddyCommerce: WooCommerce and BuddyPress Integration562919800Output is not escaped
#3635SMTP by BestWebSoft564861751k+Text Domain Mismatch
#3636Contextual Adminbar Color561816500Output is not escaped
#3637FluentSnippets – High-Performance Code Snippets, Header & Footer Code, Custom CSS & PHP Code Manager56312750k+Nonce verification recommended
#3638Fluent Connect – Connect ThriveCart with your WordPress and FluentCRM563754600curl curl setopt
#3639Grids: Layout builder for WordPress5624272k+Missing direct file access protection
#3640Jquery Validation For Contact Form 75618199k+Missing direct file access protection
#3641Form data to kintone5625221k+Output is not escaped
#3642LearnPress – Course Wishlist56352220k+Output is not escaped
#3643Maya Business Plugin56939600Input is not validated
#3644Replace Protected Password56618600Input is not sanitized
#3645Review Stream564142400Non-prefixed global variable
#3646Image Optimization For SEO56116693k+Non Singular String Literal Domain
#3647Subscription & Recurring Payment for WooCommerce568485800Non-prefixed global variable
#3648SureMembers – Membership & Content Restriction Plugin5652102900Request data is not unslashed
#3649TextBuilder5620344k+Missing Arg Domain
#3650ThemeinWP Import Companion5617144k+Unsafe printing function