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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#51Razorpay for WooCommerce20974855100k+Non Prefixed Function Found
#52WPJAM Basic203283564k+Output Not Escaped
#53Store Locator WordPress212,3721,57210k+Text Domain Mismatch
#54Backup Migration219811,09380k+Non Prefixed Variable Found
#55bbPress219293,672100k+Non Prefixed Function Found
#56Pinpoint Booking System – Version 2216343283k+missing direct file access protection
#57rtMedia for WordPress, BuddyPress and bbPress213636338k+Non Prefixed Constant Found
#58CartFlows – Funnel Builder & Checkout Plugin for WooCommerce21461614200k+Text Domain Mismatch
#59Smart Grid-Layout Design for Contact Form 7211,12673410k+Output Not Escaped
#60Comet Cache2185724520k+Output Not Escaped
#61Cost Calculator Builder2132276530k+Non Prefixed Variable Found
#62Free Downloads WooCommerce214303594k+Output Not Escaped
#63Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More212,5721,2771m+Output Not Escaped
#64Envo Extra2187860020k+Text Domain Mismatch
#65eRoom – Webinar & Meeting Plugin for Zoom, Google Meet, Microsoft Teams211864379k+Non Prefixed Variable Found
#66ERP: Complete HR, Accounting & CRM Suite with Recruitment and WooCommerce CRM Support218295,9665k+Direct Query
#67Eupago Gateway For Woocommerce216123202k+Output Not Escaped
#68EventPrime – Events Calendar, Bookings and Tickets218724,2977k+Non Prefixed Variable Found
#69Feeds for YouTube (YouTube video, channel, and gallery plugin)21558978100k+Output Not Escaped
#70FileOrganizer – WordPress File Manager21536241200k+unlink unlink
#71Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More21521,959300k+Non Prefixed Variable Found
#72Campaign Monitor for WordPress213864612k+Non Prefixed Variable Found
#73If-So Dynamic Content – Elementor & All Page Builders Personalization218897257k+Unsafe Printing Function
#74Imagify: Optimize Images for Top Speed (Compress & Convert to WebP/AVIF)214188511m+Non Prefixed Variable Found
#75JCH Optimize219531334k+Output Not Escaped
#76LA-Studio Element Kit for Elementor218,3901,96410k+Text Domain Mismatch
#77MailChimp Subscribe Form, Optin Builder, PopUp Builder, Form Builder211,1333,0112k+Non Prefixed Variable Found
#78Mapster WP Maps213,4402,9033k+Text Domain Mismatch
#79Modular DS: Monitor, update, and backup multiple websites211618140k+Exception Not Escaped
#80MotoPress Hotel Booking213,0611,03710k+Text Domain Mismatch
#81Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred211,4693,33310k+Non Prefixed Variable Found
#82OneLogin SAML SSO215083307k+wp function not compatible with requires wp
#83Packeta218023338k+Exception Not Escaped
#84Landing Page Builder – Coming Soon page, Maintenance Mode, Lead Page, WordPress Landing Pages211,1732,9839k+Non Prefixed Variable Found
#85Paid Membership Subscriptions – Effortless Memberships, Recurring Payments & Content Restriction211,9185,06510k+Non Prefixed Hookname Found
#86User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor216961,48350k+Recommended
#87PublishPress Planner – Editorial Calendar, Marketing Content, Kanban Board216038906k+Output Not Escaped
#88Razorpay Quick Payments21399633k+Exception Not Escaped
#89Five Star Restaurant Reservations – WordPress Booking Plugin211,0991,14710k+Output Not Escaped
#90Rocket Maintenance Mode & Coming Soon Page211,1761,4064k+Non Prefixed Variable Found
#91Royal Addons for Elementor – Addons and Templates Kit for Elementor2113,0112,530600k+Text Domain Mismatch
#92Seamless Donations is Sunset216005142k+Text Domain Mismatch
#93Professional Social Sharing Buttons, Icons & Related Posts – Shareaholic2132718110k+Output Not Escaped
#94Smart Forms – when you need more than just a contact form217765745k+Output Not Escaped
#95Accept Stripe Payments2137388220k+Missing
#96Testerwp ecommerce companion218114361k+Text Domain Mismatch
#97ThirstyAffiliates – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin2119066030k+Non Prefixed Variable Found
#98Revive Social – Social Media Auto Post and Scheduling Automation Plugin2125542520k+Non Prefixed Hookname Found
#99Buckaroo Woocommerce Payments Plugin215633262k+Exception Not Escaped
#100WCFM – Frontend Manager for WooCommerce214,7215,06720k+Non Prefixed Variable Found