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
#4351Shipping Method Description for WooCommerce869121k+Non-prefixed global variable
#4352WooCommerce Payfast Gateway86904730k+Text Domain Mismatch
#4353WP Image Size Limit86763k+Output is not escaped
#4354WP Upload Restriction8659162k+Text Domain Mismatch
#4355WP101 Video Tutorial Plugin86151810k+Missing direct file access protection
#4356Better Addons for Elementor871252214k+Non-prefixed global variable
#4357Catch Infinite Scroll872010k+Non-prefixed global variable
#4358Contact Form 7 Spam Killer871214k+Missing nonce verification
#4359CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)8712911m+Non-prefixed global variable
#4360Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files877550k+Setting is missing a sanitization callback
#4361GTM Kit – Google Tag Manager & GA4 integration8751730k+Missing direct file access protection
#4362Simple Slider Block – Create Sliders From Core Blocks87634600Non-prefixed global variable
#4363Image Optimization – Compress Images and Convert to WebP or AVIF8715241m+Missing Translators Comment
#4364ImageKit – URL based image manipulation and optimization8747421k+Non-prefixed global variable
#4365iPanorama 360 – Advanced Virtual Tour Builder87726345k+Text Domain Mismatch
#4366Booking Engine by Lodgify87515700Non-prefixed global variable
#4367Marin Companion871966500Non-prefixed global variable
#4368Menu Caching87312500Request data is not unslashed
#4369NHS Blocks8766900Non-prefixed global variable
#4370Bulk Page Generator and Mass Page Builder – Page Generator8726874k+Non-prefixed global variable
#4371Parallax Section Block – Add Parallax Scrolling Effects to Sections.873223k+Non-prefixed global variable
#4372ParcelWILL (Formerly ParcelPanel) – Shipment Tracking, Tracking & Order Tracking for WooCommerce876817k+Non-prefixed global variable
#4373Recently Viewed Products for WooCommerce – Carousel, Widget, Block & Email872181k+Database parameter is not escaped
#4374Review widget addon for Divi87203500Text Domain Mismatch
#4375Security Header Generator871020500Non Singular String Literal Text
#4376Simple Photo Feed874481k+Non-prefixed global variable
#4377Slide-out Menu – Mobile Friendly modern navigation87522500Non-prefixed global variable
#4378Smaily Connect87522k+Non-prefixed global variable
#4379Coupon Box for WooCommerce8711851k+Non-prefixed global variable
#4380WP Missed Schedule Posts877910k+trademarked term
#4381Related Products – Create Upsells, Cross-sells, and Product Recommendations for WooCommerce877944610k+Non-prefixed global variable
#4382Blogify-AI88612400Non-prefixed global variable
#4383Captcha by Yandex for Contact Form 7889123k+Text Domain Mismatch
#4384Catch IDs881620k+Non-prefixed global variable
#4385Conditional Add to Cart for WooCommerce882104600Non-prefixed global variable
#4386Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More882011640k+Non-prefixed hook name
#4387Serious Slider887920k+Non-prefixed global variable
#4388301 Redirects – Redirect Manager88671300k+Non-prefixed global variable
#4389AH Google Analytics Code8862500Output is not escaped
#4390WP OPcache8862510k+Non-prefixed global variable
#4391Generic Elements881,922140500Text Domain Mismatch
#4392Genesis Blocks88154940k+Offloaded Content
#4393G-Forms hCaptcha88753k+Missing direct file access protection
#4394Include Me88774k+Short PHP open tag found
#4395WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager8827333m+wp function not compatible with requires wp
#4396SimpleMaps888119600wp function not compatible with requires wp
#4397Module Control for Jetpack8811151k+Non-prefixed global variable
#4398Lightbox with PhotoSwipe8812420k+Non-prefixed global variable
#4399MC4WP: Mailchimp Top Bar – Email Subscribe Notification Bar881217k+Non-prefixed global variable
#4400Minimal Coming Soon – Coming Soon Page887143100k+Non-prefixed global variable