WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound

Non-prefixed constant

The plugin defines a constant 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 constant 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
#2151WooCommerce Square78626680k+Non-prefixed hook name
#2152Klaviyo792686100k+Non-prefixed function
#2153Location Weather – WordPress Weather Forecast, Air Quality & Weather Widget7956710k+Non-prefixed global variable
#2154Oxyplug Preload7979500Output is not escaped
#2155Flutterwave Payments79839700Non-prefixed global variable
#2156Real Category Management: Content Management in Category Folders794732k+Non-prefixed constant
#2157Remove noreferrer7917145k+Missing Arg Domain
#2158Retainful – WooCommerce Abandoned Cart, Newsletters, Email Marketing, Signup Forms and Automation7915261k+Non-prefixed hook name
#2159WPC Additional Variation Images for WooCommerce79426800Non-prefixed class
#2160ShopEngine Gutenberg WooCommerce Builder Blocks Addon – All in One WooCommerce Solution804247353k+Non-prefixed global variable
#2161Cost Calculator for Elementor8022317500wp function not compatible with requires wp
#2162Flipbox8014172k+wp function not compatible with requires wp
#2163Hizzle CAPTCHA – Protect your forms from spam80427500Non-prefixed global variable
#2164Mu Manager – Manage mu-plugins like standard plugins802118800Missing Arg Domain
#2165Order Approval for Woocommerce8042081k+Non-prefixed global variable
#2166RealHomes Currency Switcher8071421k+Non Singular String Literal Domain
#2167Smart Passworded Pages801182k+wp function not compatible with requires wp
#2168SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers804565200k+Non-prefixed hook name
#2169Trust Payments Gateway for WooCommerce801517400Non-prefixed class
#2170Melapress File Monitor8016905k+Non-prefixed global variable
#2171Mini Cart Drawer For WooCommerce80425500Non-prefixed hook name
#2172Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce80944580k+Non-prefixed hook name
#2173GoCardless for WooCommerce80601k+Non-prefixed class
#2174WP Social Ninja – Embed Social Feeds, User Reviews & Chat Widgets80261830k+Missing direct file access protection
#2175cookie-cat8114271k+Non-prefixed function
#2176Joinchat – Enhanced "click to chat"811832700k+wp function not compatible with requires wp
#2177eCommerce Shipping Dashboard by UPS for WooCommerce816351k+Non-prefixed constant
#2178ElasticPress81136558k+Non-prefixed hook name
#2179Fullwidth Templates for Any Theme & Page Builder81122320k+Non-prefixed constant
#2180Hostinger Tools8114223m+wp function not compatible with requires wp
#2181GIFTiT – Free Gifts for WooCommerce81433572k+Non-prefixed global variable
#2182Select and Multi-Select Field for Contact Form 78125122k+Text Domain Mismatch
#2183Stream8158080k+Direct Query
#2184Appointment Bookings for Zoom GoogleMeet and more – Wappointment8122521k+Non-prefixed class
#2185ShipStation for WooCommerce813440k+Non-prefixed class
#2186Colibri Page Builder821383190k+Missing direct file access protection
#2187Head & Footer Code82115100k+Non-prefixed constant
#2188Lazy Load for Videos826379k+Non-prefixed constant
#2189OpenPix for WooCommerce826928500wp function not compatible with requires wp
#2190PixTypes821789k+Non-prefixed global variable
#2191Product Compare for WooCommerce826423k+Non-prefixed global variable
#2192Advanced Appointment Booking & Scheduling8311133k+Text Domain Mismatch
#2193Integration of Bitrix24 with Contact Form 7831440600Non-prefixed function
#2194All-in-One Microsoft 365 & Entra ID / Azure AD SSO Login8318222600wp function not compatible with requires wp
#2195Max Addons for Bricks Builder836291k+Post Not In exclude
#2196Menu Duplicator832910k+Non-prefixed constant
#2197NETSENSAI Shield8310161k+Nonce verification recommended
#2198PDF Generator for WordPress83101981k+Non-prefixed global variable
#2199Photo Sphere Viewer – 360° Panorama, Virtual Tour, 360 Video & AR 3D Model Viewer831310500wp function not compatible with requires wp
#2200Easy Photography Portfolio8338332k+Missing direct file access protection