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 |
|---|---|---|---|---|---|---|---|---|
| #3351 | Shipping Zone Duplicator for WooCommerce | 77 | 10 | 14 | 800 | Nonce verification recommended | ||
| #3352 | Display custom fields in the frontend – Post and User Profile Fields | 77 | 17 | 18 | 600 | Non-prefixed global variable | ||
| #3353 | SureRank SEO – Smart Assistant with Meta Tags, Social Preview, XML Sitemap, and Schema | 77 | 58 | 95 | 300k+ | Non-prefixed hook name | ||
| #3354 | Tagembed Social Feeds Widget | 77 | 21 | 137 | 10k+ | Non-prefixed function | ||
| #3355 | Taggbox – Free Social Media Widgets, Review Badges & Shoppable UGC | 77 | 23 | 113 | 1k+ | Direct Query | ||
| #3356 | Lorem Ipsum Generator | 77 | 7 | 9 | 500 | Missing direct file access protection | ||
| #3357 | WP Night Mode | 77 | 8 | 11 | 700 | Non-prefixed function | ||
| #3358 | WP Upload Size | 77 | 6 | 14 | 2k+ | Non-prefixed function | ||
| #3359 | WPA WooCommerce Product Gallery Slider Lite | 77 | 66 | 52 | 400 | Text Domain Mismatch | ||
| #3360 | Pay with PAYUNi | 77 | 9 | 13 | 500 | Input is not sanitized | ||
| #3361 | WPC Show Single Variations for WooCommerce | 77 | 1 | 26 | 1k+ | Nonce verification recommended | ||
| #3362 | wpsection | 77 | 131 | 554 | 3k+ | Non-prefixed global variable | ||
| #3363 | ELEX WooCommerce Address Validation & Google Address Autocomplete Plugin | 78 | 73 | 40 | 700 | Missing Arg Domain | ||
| #3364 | Animated Text Block – Add Typing and Looping Text Effects | 78 | 5 | 25 | 4k+ | Non-prefixed class | ||
| #3365 | Player for SoundCloud – Embed and Play Audio Tracks | 78 | 17 | 24 | 1k+ | Text Domain Mismatch | ||
| #3366 | Forget About Shortcode Buttons | 78 | 11 | 25 | 20k+ | Missing direct file access protection | ||
| #3367 | Interact: Embed A Quiz On Your Site | 78 | 6 | 13 | 3k+ | Request data is not unslashed | ||
| #3368 | Layouts for Elementor | 78 | 27 | 1k+ | Non-prefixed global variable | |||
| #3369 | Layouts for WPBakery | 78 | 28 | 3k+ | Non-prefixed global variable | |||
| #3370 | Maintenance Notice | 78 | 26 | 71 | 800 | Non-prefixed global variable | ||
| #3371 | Media Focus Point | 78 | 11 | 6 | 6k+ | Output is not escaped | ||
| #3372 | Uptime Monitoring for WordPress – My Website is Online | 78 | 18 | 7 | 500 | Text Domain Mismatch | ||
| #3373 | Coming Soon & Maintenance Mode Page & Under Construction | 78 | 35 | 67 | 10k+ | Non-prefixed global variable | ||
| #3374 | PatternsWP – Gutenberg Block Patterns & Page Templates Library | 78 | 1 | 25 | 500 | Non-prefixed constant | ||
| #3375 | PiWeb Min/Max Quantity & Minimum Order Limits for WooCommerce | 78 | 41 | 700 | Nonce verification recommended | |||
| #3376 | PRENA – Product Pre-Orders for WooCommerce | 78 | 6 | 29 | 2k+ | Request data is not unslashed | ||
| #3377 | QuadMenu – Divi Mega Menu | 78 | 17 | 2 | 1k+ | Text Domain Mismatch | ||
| #3378 | Resend Welcome Email | 78 | 5 | 9 | 1k+ | Nonce verification recommended | ||
| #3379 | Animator – Scroll Triggered Animations | 78 | 16 | 24 | 1k+ | Missing direct file access protection | ||
| #3380 | History Timeline for Biography, Company History & Event Timeline | 78 | 29 | 37 | 1k+ | Non-prefixed global variable | ||
| #3381 | Twenty20 Image Before-After | 78 | 104 | 14 | 20k+ | Text Domain Mismatch | ||
| #3382 | WEN Responsive Columns | 78 | 13 | 6 | 800 | Unsafe printing function | ||
| #3383 | Wheel of Life: Coaching and Assessment Tool for Life Coach | 78 | 3 | 113 | 3k+ | Non-prefixed global variable | ||
| #3384 | WooCommerce Square | 78 | 6 | 266 | 80k+ | Non-prefixed hook name | ||
| #3385 | WP Downgrade | Specific Core Version | 78 | 12 | 6 | 100k+ | Unsafe printing function | ||
| #3386 | WPC Smart Messages for WooCommerce | 78 | 1 | 58 | 1k+ | Non-prefixed global variable | ||
| #3387 | Add link on copied text | 79 | 11 | 3 | 400 | Output is not escaped | ||
| #3388 | Import / Export Customizer Settings | 79 | 5 | 13 | 50k+ | Input is not sanitized | ||
| #3389 | Better Font Awesome | 79 | 6 | 9 | 70k+ | Input is not sanitized | ||
| #3390 | Chatra Live Chat + ChatBot + Cart Saver | 79 | 11 | 1 | 3k+ | Output is not escaped | ||
| #3391 | Bitly URL Shortener | 79 | 65 | 22 | 600 | Text Domain Mismatch | ||
| #3392 | Exclude Pages From Menu | 79 | 6 | 11 | 8k+ | Non-prefixed function | ||
| #3393 | JSON API Auth | 79 | 5 | 11 | 700 | Non-prefixed function | ||
| #3394 | Klaviyo | 79 | 26 | 86 | 100k+ | Non-prefixed function | ||
| #3395 | Last Name First Name | 79 | 9 | 5 | 500 | Non-prefixed function | ||
| #3396 | Location Weather – WordPress Weather Forecast, Air Quality & Weather Widget | 79 | 567 | 10k+ | Non-prefixed global variable | |||
| #3397 | Real Category Management: Content Management in Category Folders | 79 | 4 | 73 | 2k+ | Non-prefixed constant | ||
| #3398 | Related Products Manager for WooCommerce | 79 | 9 | 43 | 1k+ | Non-prefixed global variable | ||
| #3399 | Remove Category URL – Remove 'category' base from category permalinks | 79 | 5 | 8 | 50k+ | Missing direct file access protection | ||
| #3400 | Responsive Mobile-Friendly Tooltip | 79 | 25 | 14 | 600 | Missing Arg Domain |