WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound
Non-prefixed constant
The plugin defines a constant without a plugin-specific prefix.
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.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #2351 | Make Connector | 94 | 1 | 9 | 80k+ | Non-prefixed constant | ||
| #2352 | Logo Carousel – Responsive Logo Slider, Logo Showcase, and Clients Logo Gallery | 94 | 206 | 20k+ | Non-prefixed global variable | |||
| #2353 | LovedByAI – Generative Engine Optimization, AI Search, GEO, AEO | 94 | 16 | 600 | Direct Query | |||
| #2354 | NewStatPress | 94 | 95 | 12 | 8k+ | wp function not compatible with requires wp | ||
| #2355 | Payment Gateway of Stripe for WooCommerce | 94 | 233 | 8k+ | Non-prefixed hook name | |||
| #2356 | PixCodes | 94 | 216 | 8k+ | Non-prefixed global variable | |||
| #2357 | Repeater for Contact Form 7 | 94 | 145 | 7 | 500 | wp function not compatible with requires wp | ||
| #2358 | WP Click to Chat – Email, Live Chat, Call & Book Now Buttons | 94 | 43 | 47 | 1k+ | wp function not compatible with requires wp | ||
| #2359 | Real Testimonials – Testimonial Slider, Collect Customer Reviews and Video Testimonials | 94 | 286 | 40k+ | Non-prefixed global variable | |||
| #2360 | Product Slider, Product Carousel and Product Grid Gallery for WooCommerce – WooProduct Slider | 94 | 270 | 20k+ | Non-prefixed global variable | |||
| #2361 | Quick View for WooCommerce | 94 | 163 | 2k+ | Non-prefixed global variable | |||
| #2362 | Novalnet Payment Gateway for WooCommerce | 94 | 4 | 58 | 1k+ | Non-prefixed class | ||
| #2363 | WPC Product FAQs for WooCommerce | 94 | 20 | 1k+ | Non-prefixed class | |||
| #2364 | WPGraphQL Yoast SEO Addon | 95 | 42 | 13 | 10k+ | Text Domain Mismatch | ||
| #2365 | Check & Log Email – Easy Email Testing & Mail logging | 95 | 3 | 11 | 100k+ | Non-prefixed constant | ||
| #2366 | Complianz – Terms and Conditions | 95 | 13 | 26 | 300k+ | Non-prefixed global variable | ||
| #2367 | Customify | 95 | 1 | 101 | 10k+ | Non-prefixed global variable | ||
| #2368 | Email Log | 95 | 5 | 53 | 80k+ | Non-prefixed hook name | ||
| #2369 | Statify – Extended Evaluation | 95 | 2 | 119 | 20k+ | Non-prefixed global variable | ||
| #2370 | Language Switcher for Transposh | 95 | 22 | 68 | 1k+ | Non-prefixed global variable | ||
| #2371 | Live Chat Plugin for WooCommerce – LiveChat | 95 | 62 | 10 | 1k+ | Text Domain Mismatch | ||
| #2372 | MilesWeb Tools | 95 | 4 | 49 | 10k+ | Non-prefixed global variable | ||
| #2373 | morkva Plata by Mono Extended | 95 | 112 | 14 | 400 | Text Domain Mismatch | ||
| #2374 | Multibanco, MB WAY, Credit card, Apple Pay, Google Pay, Payshop, Cofidis Pay, and PIX (ifthenpay) for WooCommerce | 95 | 86 | 8k+ | Non-prefixed function | |||
| #2375 | Mystery Themes Demo Importer | 95 | 76 | 7k+ | Non-prefixed global variable | |||
| #2376 | StatCounter – Free Real Time Visitor Stats | 95 | 41 | 10 | 70k+ | wp function not compatible with requires wp | ||
| #2377 | Posts in Page | 95 | 10 | 12 | 10k+ | date date | ||
| #2378 | Seriously Simple Speakers | 95 | 19 | 13 | 1k+ | Missing Translators Comment | ||
| #2379 | Smart Brands for WooCommerce | 95 | 150 | 400 | Non-prefixed global variable | |||
| #2380 | WPC Product Timer for WooCommerce | 95 | 17 | 3k+ | Non-prefixed class | |||
| #2381 | SNY Auto Featured Image | 95 | 41 | 5 | 1k+ | Text Domain Mismatch | ||
| #2382 | LiveChat – Live Chat Plugin for WP Websites | 95 | 62 | 9 | 10k+ | Text Domain Mismatch | ||
| #2383 | Malcure Malware Shield — Removal, Repair, Monitor | 95 | 75 | 6 | 10k+ | wp function not compatible with requires wp | ||
| #2384 | WPC Buy Now Button for WooCommerce | 95 | 18 | 10k+ | Non-prefixed class | |||
| #2385 | WebberZone Snippetz – Header, Body and Footer manager | 96 | 1 | 53 | 2k+ | Dynamic hook name | ||
| #2386 | Portfolio Grid – Filterable Gallery, Grid & Slider Showcase | 96 | 3 | 50 | 900 | Non-prefixed function | ||
| #2387 | WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage | 96 | 8 | 12 | 30k+ | Missing direct file access protection | ||
| #2388 | Better Block Editor (BBE) | 96 | 2 | 51 | 5k+ | Non-prefixed global variable | ||
| #2389 | Block, Suspend, Report for BuddyPress | 96 | 3 | 24 | 600 | slow db query meta query | ||
| #2390 | Carousel Slider Block for Gutenberg | 96 | 48 | 12 | 40k+ | Text Domain Mismatch | ||
| #2391 | Cookie Wow PDPA Banner | 96 | 7 | 6 | 1k+ | Missing direct file access protection | ||
| #2392 | Custom Fields Permalink 2 | 96 | 4 | 9 | 500 | Non-prefixed global variable | ||
| #2393 | Doppler Easy Multichannel Marketing enhanced with IA | 96 | 11 | 6 | 600 | wp function not compatible with requires wp | ||
| #2394 | Elastic Email Sender | 96 | 121 | 4 | 10k+ | Text Domain Mismatch | ||
| #2395 | Events Tracker for Elementor | 96 | 4 | 10 | 10k+ | Non-prefixed constant | ||
| #2396 | Force Refresh | 96 | 15 | 13 | 4k+ | Missing direct file access protection | ||
| #2397 | Fresh Forms for Gravity | 96 | 7 | 6 | 3k+ | Non-prefixed constant | ||
| #2398 | Genesis Connect for WooCommerce | 96 | 45 | 17 | 10k+ | Text Domain Mismatch | ||
| #2399 | Holiday Mode for WooCommerce | 96 | 20 | 3 | 700 | Text Domain Mismatch | ||
| #2400 | WP OAuth Server ( Login with WordPress ) | 96 | 26 | 9 | 1k+ | wp function not compatible with requires wp |