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 |
|---|---|---|---|---|---|---|---|---|
| #2251 | Worldline Online Checkout | 88 | 4 | 16 | 1k+ | Nonce verification recommended | ||
| #2252 | Dynamic Animations for Elementor | 88 | 77 | 17 | 1k+ | Non Singular String Literal Domain | ||
| #2253 | 301 Redirects – Redirect Manager | 88 | 6 | 71 | 300k+ | Non-prefixed global variable | ||
| #2254 | Module Control for Jetpack | 88 | 11 | 15 | 1k+ | Non-prefixed global variable | ||
| #2255 | MC4WP: Mailchimp Top Bar – Email Subscribe Notification Bar | 88 | 1 | 21 | 7k+ | Non-prefixed global variable | ||
| #2256 | Scriptless Social Sharing | 88 | 8 | 9 | 10k+ | Missing direct file access protection | ||
| #2257 | Smart Blocks – WordPress Gutenberg Blocks | 88 | 10 | 76 | 1k+ | Post Not In post not in | ||
| #2258 | Divi Carousel Free (Divi5 Support) | 88 | 268 | 26 | 30k+ | Text Domain Mismatch | ||
| #2259 | WPC Admin Columns | 88 | 30 | 1k+ | Direct Query | |||
| #2260 | WPC Smart Linked Products – Upsells & Cross-sells for WooCommerce | 88 | 29 | 700 | Nonce verification recommended | |||
| #2261 | Clarity – Ad blocker for WordPress | 89 | 5 | 19 | 2k+ | Non-prefixed hook name | ||
| #2262 | Content Update Scheduler | 89 | 2 | 17 | 2k+ | Non-prefixed global variable | ||
| #2263 | Cool Flipbox – Shortcode & Gutenberg Block | 89 | 29 | 10 | 5k+ | wp function not compatible with requires wp | ||
| #2264 | Impressum | 89 | 50 | 12 | 4k+ | Short PHP open tag found | ||
| #2265 | Link View | 89 | 99 | 5 | 800 | Missing Translators Comment | ||
| #2266 | MAS Elementor | 89 | 19 | 216 | 1k+ | Non-prefixed hook name | ||
| #2267 | Mediavine Control Panel | 89 | 30 | 30 | 10k+ | Text Domain Mismatch | ||
| #2268 | RateMyAgent Official | 89 | 1 | 158 | 400 | Non-prefixed namespace | ||
| #2269 | Széchenyi 2020 Logo | 89 | 140 | 9 | 900 | Text Domain Mismatch | ||
| #2270 | WP Database Backup – Unlimited Database & Files Backup by Backup for WP | 89 | 855 | 11 | 30k+ | Text Domain Mismatch | ||
| #2271 | WPC Smart Notifications for WooCommerce | 89 | 79 | 600 | Non-prefixed global variable | |||
| #2272 | WPC Variation Swatches for WooCommerce | 89 | 29 | 7k+ | Non-prefixed global variable | |||
| #2273 | wetracked.io for WooCommerce | 89 | 4 | 9 | 600 | Non-prefixed constant | ||
| #2274 | Vertical Timeline Widget for Elementor | 90 | 2 | 10 | 10k+ | Non-prefixed function | ||
| #2275 | Child Themify | 90 | 10 | 4 | 7k+ | Missing direct file access protection | ||
| #2276 | Compact Archives | 90 | 8 | 14 | 2k+ | Non-prefixed function | ||
| #2277 | Duplicate PP | 90 | 8 | 10k+ | Non-prefixed constant | |||
| #2278 | Dynamic Year Block – display a copyright notice in your footer with the current year | 90 | 5 | 28 | 2k+ | Non-prefixed global variable | ||
| #2279 | External files in Media Library | 90 | 16 | 68 | 400 | Direct Query | ||
| #2280 | Multiple Columns for Gravity Forms | 90 | 11 | 7 | 10k+ | Missing direct file access protection | ||
| #2281 | ShareThis Dashboard for Google Analytics | 90 | 4 | 272 | 80k+ | Non-prefixed global variable | ||
| #2282 | Lawwwing | Textos legales web y Banner de cookies | 90 | 31 | 13 | 700 | Text Domain Mismatch | ||
| #2283 | OAuth Single Sign On – SSO (OAuth Client) | 90 | 269 | 36 | 6k+ | wp function not compatible with requires wp | ||
| #2284 | Payment Forms for Paystack | 90 | 494 | 23 | 3k+ | Text Domain Mismatch | ||
| #2285 | Power Coupons for WooCommerce | 90 | 6 | 91 | 20k+ | Non-prefixed global variable | ||
| #2286 | Rapid URL Indexer for WP – Index Websites in Google | 90 | 6 | 28 | 1k+ | error log error log | ||
| #2287 | SEO SIMPLE PACK | 90 | 99 | 97 | 100k+ | Non-prefixed global variable | ||
| #2288 | Tabbed Contents Block – Display Content in Tabbed Layout | 90 | 4 | 36 | 800 | Non-prefixed global variable | ||
| #2289 | Wetterwarner | 90 | 5 | 12 | 500 | Non-prefixed function | ||
| #2290 | WPC Smart Compare for WooCommerce | 90 | 22 | 70k+ | Nonce verification recommended | |||
| #2291 | WPC Smart Quick View for WooCommerce | 90 | 25 | 90k+ | Nonce verification recommended | |||
| #2292 | WP BrowserUpdate | 90 | 11 | 7 | 1k+ | Missing Translators Comment | ||
| #2293 | Advanced Cron Manager – debug & control | 91 | 30 | 90 | 30k+ | Non-prefixed global variable | ||
| #2294 | LegalBlink for Aruba | 91 | 33 | 29 | 7k+ | Missing direct file access protection | ||
| #2295 | Mesmerize Companion | 91 | 27 | 91 | 60k+ | Non-prefixed global variable | ||
| #2296 | MultiManager WP – Manage All Your WordPress Sites Easily | 91 | 28 | 11 | 1k+ | Missing Arg Domain | ||
| #2297 | Restricted Site Access | 91 | 14 | 11 | 10k+ | Missing Arg Domain | ||
| #2298 | Slivery Extender | 91 | 557 | 11 | 1k+ | Text Domain Mismatch | ||
| #2299 | Super Light Cache Buster | 91 | 6 | 4 | 700 | Non-prefixed function | ||
| #2300 | Responsive Team Members Showcase, Team Grid, Team Slider, and Staff List – Smart Team (formerly WP Team) | 91 | 4 | 372 | 5k+ | Non-prefixed global variable |