WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
Non-prefixed hook name
The plugin defines a hook name 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 hook name 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 |
|---|---|---|---|---|---|---|---|---|
| #3751 | WC MyParcel Belgium | 86 | 340 | 79 | 600 | Text Domain Mismatch | ||
| #3752 | Shipping Method Description for WooCommerce | 86 | 9 | 12 | 1k+ | Non-prefixed global variable | ||
| #3753 | Microsoft Azure Storage for WordPress | 86 | 25 | 26 | 2k+ | Missing Translators Comment | ||
| #3754 | WooCommerce Payfast Gateway | 86 | 90 | 47 | 30k+ | Text Domain Mismatch | ||
| #3755 | WP YouTube Live | 86 | 28 | 24 | 1k+ | Non-prefixed function | ||
| #3756 | WP101 Video Tutorial Plugin | 86 | 15 | 18 | 10k+ | Missing direct file access protection | ||
| #3757 | WPUpper Share Buttons | 86 | 4 | 74 | 4k+ | Dynamic hook name | ||
| #3758 | Equalize Digital Accessibility Checker – WCAG, ADA, EAA and Section 508 compliance | 87 | 18 | 10k+ | Database parameter is not escaped | |||
| #3759 | Apaczka.pl Mapa Punktów | 87 | 8 | 9 | 2k+ | Missing nonce verification | ||
| #3760 | Better Addons for Elementor | 87 | 125 | 221 | 4k+ | Non-prefixed global variable | ||
| #3761 | Catch Infinite Scroll | 87 | 20 | 10k+ | Non-prefixed global variable | |||
| #3762 | CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice) | 87 | 1 | 291 | 1m+ | Non-prefixed global variable | ||
| #3763 | Enable Abilities for MCP | 87 | 48 | 1k+ | Direct Query | |||
| #3764 | GTM Kit – Google Tag Manager & GA4 integration | 87 | 5 | 17 | 30k+ | Missing direct file access protection | ||
| #3765 | Image Optimization – Compress Images and Convert to WebP or AVIF | 87 | 15 | 24 | 1m+ | Missing Translators Comment | ||
| #3766 | ImageKit – URL based image manipulation and optimization | 87 | 47 | 42 | 1k+ | Non-prefixed global variable | ||
| #3767 | Menu Caching | 87 | 3 | 12 | 500 | Request data is not unslashed | ||
| #3768 | ParcelWILL (Formerly ParcelPanel) – Shipment Tracking, Tracking & Order Tracking for WooCommerce | 87 | 6 | 81 | 7k+ | Non-prefixed global variable | ||
| #3769 | Pay in Store WooCommerce Payment Gateway | 87 | 26 | 5 | 2k+ | Non Singular String Literal Domain | ||
| #3770 | Security Header Generator | 87 | 10 | 20 | 500 | Non Singular String Literal Text | ||
| #3771 | Simple Photo Feed | 87 | 4 | 48 | 1k+ | Non-prefixed global variable | ||
| #3772 | Slide-out Menu – Mobile Friendly modern navigation | 87 | 5 | 22 | 500 | Non-prefixed global variable | ||
| #3773 | Smaily Connect | 87 | 52 | 2k+ | Non-prefixed global variable | |||
| #3774 | Invoice Payment Gateway for WooCommerce | 87 | 5 | 4 | 2k+ | Output is not escaped | ||
| #3775 | Variations as Single Product – Display Single Variation for WooCommerce | 87 | 8 | 33 | 1k+ | Direct Query | ||
| #3776 | Coupon Box for WooCommerce | 87 | 11 | 85 | 1k+ | Non-prefixed global variable | ||
| #3777 | Friendly User Agent for WooCommerce | 87 | 6 | 2 | 400 | Output is not escaped | ||
| #3778 | WP Dashboard Messages | 87 | 9 | 11 | 400 | Text Domain Mismatch | ||
| #3779 | Related Products – Create Upsells, Cross-sells, and Product Recommendations for WooCommerce | 87 | 79 | 446 | 10k+ | Non-prefixed global variable | ||
| #3780 | ZI Hide price and add to cart for WooCommerce | 87 | 15 | 7 | 1k+ | wp function not compatible with requires wp | ||
| #3781 | ACF Dropzone | 88 | 4 | 3 | 1k+ | Exception output is not escaped | ||
| #3782 | Worldline Online Checkout | 88 | 4 | 16 | 1k+ | Nonce verification recommended | ||
| #3783 | Catch IDs | 88 | 16 | 20k+ | Non-prefixed global variable | |||
| #3784 | Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More | 88 | 20 | 116 | 40k+ | Non-prefixed hook name | ||
| #3785 | Customizer Reset – Export & Import | 88 | 6 | 9 | 900 | wp function not compatible with requires wp | ||
| #3786 | 301 Redirects – Redirect Manager | 88 | 6 | 71 | 300k+ | Non-prefixed global variable | ||
| #3787 | Generic Elements | 88 | 1,922 | 140 | 500 | Text Domain Mismatch | ||
| #3788 | WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager | 88 | 27 | 33 | 3m+ | wp function not compatible with requires wp | ||
| #3789 | Module Control for Jetpack | 88 | 11 | 15 | 1k+ | Non-prefixed global variable | ||
| #3790 | MC4WP: Mailchimp Top Bar – Email Subscribe Notification Bar | 88 | 1 | 21 | 7k+ | Non-prefixed global variable | ||
| #3791 | Minimal Coming Soon – Coming Soon Page | 88 | 7 | 143 | 100k+ | Non-prefixed global variable | ||
| #3792 | WPS Bookings for WooCommerce | 88 | 26 | 249 | 4k+ | Non-prefixed global variable | ||
| #3793 | Nav Menu Manager | 88 | 9 | 17 | 800 | Request data is not unslashed | ||
| #3794 | NS Category Widget | 88 | 1 | 17 | 1k+ | Missing nonce verification | ||
| #3795 | Repeat Order for WooCommerce | 88 | 19 | 9 | 3k+ | Text Domain Mismatch | ||
| #3796 | SiteGround Email Marketing | 88 | 18 | 75 | 1k+ | Non-prefixed namespace | ||
| #3797 | Smart Blocks – WordPress Gutenberg Blocks | 88 | 10 | 76 | 1k+ | Post Not In post not in | ||
| #3798 | The Events Calendar: Category Colors | 88 | 18 | 42 | 5k+ | Non-prefixed global variable | ||
| #3799 | FlexMeeting – Webinar & Meeting Plugin for Jitsi Meet | 88 | 6 | 18 | 1k+ | Nonce verification recommended | ||
| #3800 | File Uploads Addon for WooCommerce | 88 | 8 | 15 | 5k+ | Missing direct file access protection |