WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
Non-prefixed function
The plugin defines a function 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 function 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 |
|---|---|---|---|---|---|---|---|---|
| #3501 | WPC Order Tip for WooCommerce | 83 | 55 | 1k+ | Non-prefixed global variable | |||
| #3502 | Image Gallery Block | 84 | 9 | 22 | 2k+ | Non-prefixed global variable | ||
| #3503 | Acme Demo Setup | 84 | 8 | 6 | 10k+ | Non-prefixed function | ||
| #3504 | Append extensions on Pages | 84 | 7 | 3 | 800 | Missing direct file access protection | ||
| #3505 | ClickShip | 84 | 13 | 5 | 1k+ | Output is not escaped | ||
| #3506 | Digital Signature For Contact Form 7 | 84 | 22 | 11 | 5k+ | file system operations fwrite | ||
| #3507 | Editor Enhancer for Oxygen | 84 | 3 | 10 | 500 | Nonce verification recommended | ||
| #3508 | Events Calendar for Google | 84 | 13 | 8 | 2k+ | Missing direct file access protection | ||
| #3509 | FlippingBook | 84 | 14 | 6 | 2k+ | Missing Translators Comment | ||
| #3510 | Stape Conversion Tracking | 84 | 23 | 4 | 10k+ | Non Singular String Literal Domain | ||
| #3511 | JWT Authentication for WP REST API | 84 | 27 | 41 | 60k+ | wp function not compatible with requires wp | ||
| #3512 | Lightweight Cookie Notice – Cookie Banner for Cookie Consent | 84 | 8 | 18 | 5k+ | Database parameter is not escaped | ||
| #3513 | Video Gallery YouTube Vimeo with Youtube API | 84 | 2 | 181 | 1k+ | Non-prefixed global variable | ||
| #3514 | Ocean Social Sharing | 84 | 10 | 36 | 60k+ | Non-prefixed global variable | ||
| #3515 | Plugin Security Scanner | 84 | 9 | 9 | 700 | Output is not escaped | ||
| #3516 | Simple Testimonials Showcase | 84 | 33 | 11 | 500 | Missing Translators Comment | ||
| #3517 | Username Changer | 84 | 37 | 13 | 40k+ | wp function not compatible with requires wp | ||
| #3518 | Web Stories | 84 | 12 | 63 | 60k+ | Non-prefixed global variable | ||
| #3519 | Widgets for Google Reviews and Ratings | 84 | 2 | 10 | 2k+ | Missing nonce verification | ||
| #3520 | WP Notification Center | 84 | 7 | 8 | 1k+ | Exception output is not escaped | ||
| #3521 | WP PDF Generator | 84 | 21 | 22 | 1k+ | Request data is not unslashed | ||
| #3522 | WPB Accordion Menu – Collapsible Vertical Sidebar Menu – WooCommerce Category Accordion | 84 | 5 | 59 | 10k+ | Non-prefixed hook name | ||
| #3523 | Pay with LINE Pay | 84 | 12 | 10 | 700 | Missing Translators Comment | ||
| #3524 | WPC Grouped Product for WooCommerce | 84 | 45 | 3k+ | Nonce verification recommended | |||
| #3525 | WPML Shortcodes | 84 | 7 | 12 | 900 | Non-prefixed function | ||
| #3526 | Fetchify | 85 | 154 | 19 | 600 | Text Domain Mismatch | ||
| #3527 | Easy UTM Tracking with Contact Form 7 | 85 | 3 | 10 | 2k+ | Input is not validated | ||
| #3528 | reCaptcha Add-On for FormCraft | 85 | 4 | 16 | 7k+ | Missing Version | ||
| #3529 | Hello Dolly | 85 | 9 | 2 | 600k+ | Output is not escaped | ||
| #3530 | WP Ghost (Hide My WP Ghost) – Security & Firewall | 85 | 6 | 373 | 100k+ | Non-prefixed global variable | ||
| #3531 | HSTS Ready | 85 | 3 | 11 | 3k+ | Input is not validated | ||
| #3532 | JAMP Notes (Just Another Memo Plugin) | 85 | 170 | 183 | 400 | Text Domain Mismatch | ||
| #3533 | Marquee Running Text | 85 | 11 | 7 | 6k+ | Missing direct file access protection | ||
| #3534 | News Element Elementor Blog Magazine | 85 | 174 | 695 | 400 | Non-prefixed global variable | ||
| #3535 | Payment Integration Wompi | 85 | 44 | 11 | 1k+ | Missing Arg Domain | ||
| #3536 | PlayerJS – Free Custom HTML5 Video and Audio Player Builder | 85 | 1 | 13 | 1k+ | Missing Version | ||
| #3537 | LocaliQ – Tracking Code | 85 | 11 | 11 | 2k+ | Non-prefixed function | ||
| #3538 | Real Thumbnail Generator: Efficient regeneration of thumbnails in all sizes | 85 | 5 | 58 | 1k+ | Non-prefixed constant | ||
| #3539 | Referrer Input for Contact Form 7 | 85 | 39 | 2 | 500 | wp function not compatible with requires wp | ||
| #3540 | Remove Footer Credit | 85 | 7 | 31 | 70k+ | Non-prefixed global variable | ||
| #3541 | Review widget addon for Elementor | 85 | 8 | 9 | 1k+ | Non-prefixed function | ||
| #3542 | Salt Shaker | 85 | 15 | 13 | 6k+ | Interpolated SQL is not prepared | ||
| #3543 | Shiprocket | 85 | 56 | 15 | 10k+ | Text Domain Mismatch | ||
| #3544 | Visual Header | 85 | 6 | 42 | 400 | Non-prefixed function | ||
| #3545 | Notification for WooCommerce | Boost Your Sales – Recent Sales Popup – Live Feed Sales – Upsells | 85 | 9 | 35 | 5k+ | Non-prefixed constant | ||
| #3546 | WP Deferred JavaScripts | 85 | 10 | 7 | 800 | Output is not escaped | ||
| #3547 | WPC Estimated Delivery Date for WooCommerce | 85 | 67 | 9k+ | Non-prefixed global variable | |||
| #3548 | WPC Variations Table for WooCommerce | 85 | 34 | 400 | Non-prefixed hook name | |||
| #3549 | Advanced Queries | 86 | 6 | 11 | 10k+ | Non-prefixed constant | ||
| #3550 | AM LottiePlayer | 86 | 5 | 12 | 800 | Non-prefixed global variable |