WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound

Non-prefixed class

The plugin defines a class 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 class 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
#1901WholesaleX – B2B & Wholesale Plugin for WooCommerce with Wholesale Prices38331812k+Non-prefixed global variable
#1902Photo Reviews for WooCommerce382622210k+Request data is not unslashed
#1903Vietnam Checkout for WooCommerce389313710k+Nonce verification recommended
#1904Connect WooCommerce Shop to ERP/CRM, Verifactu and EU/VAT Compliance38231041k+Direct Query
#1905WP Content Copy Protection with Color Design3896615k+Non Singular String Literal Domain
#1906WP Mailgun SMTP389951900Text Domain Mismatch
#1907WP Redirects – Contact Form 7385071400Unsafe printing function
#1908WP Video Lightbox381076730k+Unsafe printing function
#1909WPC Product Options for WooCommerce38571824k+Non-prefixed global variable
#1910mb.YTPlayer for background videos3880291k+Unsafe printing function
#1911Weather Underground3864273k+Output is not escaped
#1912Zoho Campaigns3831293k+Non-prefixed global variable
#1913Smart Custom 404 Error Page399044100k+Output is not escaped
#1914ACF: Google Font Selector3957453k+Output is not escaped
#1915Add Tiktok Pixel for Tiktok ads (+Woocommerce)3994252k+Output is not escaped
#1916Advanced Categories Widget3917041800Output is not escaped
#1917Affiliate Links – Link Cloaking and Management39231133k+Non-prefixed global variable
#1918AffiliatePages – Pros & Cons, Notice, and CTA Blocks for Affiliates3991532k+Output is not escaped
#1919AffiliateWP – Affiliate Area Tabs3986263k+Output is not escaped
#1920Load More Anything3938735k+Output is not escaped
#1921AWEOS WP Lock392453400Output is not escaped
#1922Header Footer for Beaver Builder39393110k+Output is not escaped
#1923bbPress Moderation397515500Non Singular String Literal Domain
#1924Better User Search392444700SQL query is not prepared
#1925BIP Pages399825400Short PHP open tag found
#1926BuddyPress Default Cover Photo396239500Output is not escaped
#1927BuddyPress Notification Widget395431600Output is not escaped
#1928Calculator Builder – Create an Online Calculator39162211k+Non-prefixed global variable
#1929Saitama Addon Pack39152271k+Output is not escaped
#1930Contact Form 7 – Dynamic Text Extension3910328100k+Output is not escaped
#1931Culqi39571881k+Text Domain Mismatch
#1932Custom Post Type Parents397518900Output is not escaped
#1933Drip for Gravity Forms394121500Unsafe printing function
#1934BestWebSoft's Like & Share – Posts, Pages and Widget Social Extension plugin for WordPress394802264k+Text Domain Mismatch
#1935GF Mollie by Indigo398233900Exception output is not escaped
#1936Google Calendar Widget398211700Output is not escaped
#1937Prisna GWT – Google Website Translator39117778k+Text Domain Mismatch
#1938Gravity Slider Fields3956362k+Text Domain Mismatch
#1939GS Only PDF Preview3946361k+Output is not escaped
#1940Hide My WP Lite392462400Nonce verification recommended
#1941hpb seo plugin for WordPress3915872k+Non-prefixed global variable
#1942HW Image Widget39138411k+Output is not escaped
#1943S2W – Import Shopify to WooCommerce3981323k+Request data is not unslashed
#1944Logo Showcase – Carousel, Slider, Grid & List for WordPress39123160400Unsafe printing function
#1945MailChimp Add-On for FormCraft395629800curl curl setopt
#1946Manage Enrollment for LearnDash394879400Unsafe printing function
#1947Maps for WP3916973400Output is not escaped
#1948Media Sync39193750k+Short PHP open tag found
#1949Mega Addons For WPBakery Page Builder391,32015420k+Text Domain Mismatch
#1950Zen Feed393922500Output is not escaped