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
#1401GDPR Cookie Consent Notice Box3546171k+Output is not escaped
#1402Coupon X – Discount Popups, Promo Codes Pop Ups for WooCommerce & Announcement Popups35301681k+Non-prefixed global variable
#1403CrowdSec351301192k+Output is not escaped
#1404Cue by AudioTheme.com35281506k+Non-prefixed hook name
#1405Currency per Product for WooCommerce3546242k+Text Domain Mismatch
#1406Wbcom Designs – Custom Font Uploader353401233k+Text Domain Mismatch
#1407Custom Order Numbers for WooCommerce3563220k+Non-prefixed hook name
#1408Custom Order Status for WooCommerce35415510k+Non-prefixed hook name
#1409Nexi Checkout35453083k+Dynamic hook name
#1410PiWeb Disable payment method / Partial payment for WooCommerce35552214k+Non-prefixed class
#1411Disable XML-RPC-API3544452100k+Text Domain Mismatch
#1412Easy Watermark35825330k+Non-prefixed global variable
#1413Gutenberg Blocks Library & Toolkit – Editor Plus3527116k+Text Domain Mismatch
#1414Elementor Website Builder – more than just a page builder354642810m+Non-prefixed global variable
#1415Embed Privacy35104110k+slow db query meta key
#1416EWWW Image Optimizer352257291m+Direct Query
#1417AI Popup Builder & Popup Maker by OptiMonk3581654k+Text Domain Mismatch
#1418Export Featured Images35176671k+Output is not escaped
#1419Reviews Widgets for Google, TripAdvisor, Yelp & Recommendations3525522510k+Output is not escaped
#1420Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager35646480k+Non-prefixed global variable
#1421Events Calendar by FooEvents3556594k+Non-prefixed global variable
#1422FooGallery Migrate35412321k+Non-prefixed global variable
#1423Friendly Captcha for WordPress35192629k+Output is not escaped
#1424Frontend Reset Password358312810k+Text Domain Mismatch
#1425g-FFL Cockpit3518224500Direct Query
#1426GDPR Compliance & Cookie Consent35251614k+Output is not escaped
#1427Genesis Simple Sidebars3595110k+Nonce verification recommended
#1428Get a Newsletter35138144400Output is not escaped
#1429Glossary35169932k+Non Singular String Literal Domain
#1430Gum Addon for Elementor356607250k+Text Domain Mismatch
#1431Heartbeat Control35271880k+Missing Arg Domain
#1432HivePress – Business Directory, Listings & Classified Ads Plugin353818010k+Direct Query
#1433HookMeUp for WooCommerce35592910k+Output is not escaped
#1434Image Slider35192954k+Output is not escaped
#1435IndieWeb3559600Non-prefixed hook name
#1436Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts35649160k+Output is not escaped
#1437IP Based Login35179146600Output is not escaped
#1438Jetpack VideoPress357102417k+Text Domain Mismatch
#1439JS Categories List Widget3537181k+Non Singular String Literal Domain
#1440Kadence for WooCommerce and Elementor3539213k+Output is not escaped
#1441Kustom Checkout for WooCommerce3510150510k+Dynamic hook name
#1442Web3Press – Migrating to 3ook.com Decentralized Bookstore35749400Non-prefixed constant
#1443LiteSpeed Cache352868937m+Non-prefixed global variable
#1444LottieFiles35817k+Hidden files included
#1445Maintenance Switch351259600Non-prefixed function
#1446MainWP Child Reports3549116100k+Non-prefixed hook name
#1447MapSVG – Vector maps, Image maps, Google Maps3574471k+Missing direct file access protection
#1448Mark Posts3530341k+Output is not escaped
#1449Marquee image crawler35168136700Non-prefixed global variable
#1450Mechanic Visitor Counter35240667k+Output is not escaped