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 |
|---|---|---|---|---|---|---|---|---|
| #3701 | Themebeez Toolkit | 91 | 26 | 78 | 9k+ | Non-prefixed class | ||
| #3702 | Thememiles Toolset | 91 | 14 | 2 | 500 | Text Domain Mismatch | ||
| #3703 | Timeline Express HTML Excerpts Add-on | 91 | 9 | 6 | 1k+ | Text Domain Mismatch | ||
| #3704 | Min Max Quantities – Set Minimum/Maximum Quantity & Price Limits with Step Control for WooCommerce | 91 | 2 | 30 | 10k+ | Non-prefixed hook name | ||
| #3705 | WCFM – Multivendor Marketplace REST API for WooCommerce | 91 | 5 | 34 | 1k+ | Non-prefixed hook name | ||
| #3706 | Advanced Order Export For WooCommerce | 91 | 475 | 100k+ | Non-prefixed hook name | |||
| #3707 | WooCommerce New Product Badge | 91 | 8 | 8 | 800 | Text Domain Mismatch | ||
| #3708 | Commerce7 for WordPress | 91 | 2 | 93 | 1k+ | Non-prefixed global variable | ||
| #3709 | Custom Product Tabs for WooCommerce & WordPress Tabs Builder – Smart Tabs | 91 | 412 | 10k+ | Non-prefixed global variable | |||
| #3710 | WP SSL Redirect | 91 | 1 | 8 | 700 | trademarked term | ||
| #3711 | WPBulky – WordPress Bulk Edit Post Types | 91 | 1 | 18 | 400 | Database parameter is not escaped | ||
| #3712 | WPC Custom Related Products for WooCommerce | 91 | 26 | 1k+ | Non-prefixed class | |||
| #3713 | WPS HTML Blocks | 91 | 23 | 4 | 1k+ | Text Domain Mismatch | ||
| #3714 | XPS Ship Integration | 91 | 58 | 20 | 1k+ | Text Domain Mismatch | ||
| #3715 | Blazeo | 92 | 4 | 5 | 400 | Missing Version | ||
| #3716 | Cryptocurrency Widgets – Price Ticker & Coins List | 92 | 4 | 36 | 7k+ | Non-prefixed global variable | ||
| #3717 | Customizer Custom CSS | 92 | 5 | 2 | 400 | Deprecated parameter: load_plugin_textdomain parameter 2 | ||
| #3718 | Display Posts – Easy lists, grids, navigation, and more | 92 | 11 | 23 | 80k+ | Non-prefixed function | ||
| #3719 | Email Blacklist For Elementor Forms | 92 | 7 | 5 | 1k+ | Text Domain Mismatch | ||
| #3720 | Find And Replace Text | 92 | 4 | 2 | 400 | Missing direct file access protection | ||
| #3721 | Product Gallery Slider, Additional Variation Images, Product Video, Product Image Zoom and Lightbox for WooCommerce – WooGallery | 92 | 6 | 30 | 20k+ | Non-prefixed global variable | ||
| #3722 | Health Endpoint | 92 | 3 | 2 | 3k+ | Missing Arg Domain | ||
| #3723 | IndieAuth | 92 | 31 | 27 | 400 | Missing direct file access protection | ||
| #3724 | LitCommerce: Multi-channel Selling Tool For WooCommerce | 92 | 4 | 3 | 2k+ | Missing direct file access protection | ||
| #3725 | Nelio A/B Testing – AB Tests and Heatmaps for Better Conversion Optimization | 92 | 18 | 290 | 5k+ | Non-prefixed hook name | ||
| #3726 | N-Genius Online by Network | 92 | 2 | 38 | 1k+ | Non-prefixed class | ||
| #3727 | PhotoSwipe | 92 | 4 | 9 | 1k+ | Not In Footer | ||
| #3728 | Propovoice: All-in-One Client Management System | 92 | 13 | 41 | 800 | Non-prefixed global variable | ||
| #3729 | Push Notifications for WP – Self Hosted Web Push Notifications | 92 | 165 | 36 | 6k+ | wp function not compatible with requires wp | ||
| #3730 | Greeklish Slugs | 92 | 12 | 2 | 3k+ | Text Domain Mismatch | ||
| #3731 | Stencil | 92 | 6 | 8 | 1k+ | Non-prefixed function | ||
| #3732 | TP WooCommerce Product Gallery | 92 | 4 | 9 | 1k+ | Non-prefixed function | ||
| #3733 | Image Hotspot With Tooltip For WPBakery Page Builder (formerly Visual Composer) | 92 | 61 | 12 | 400 | Text Domain Mismatch | ||
| #3734 | Visual Slider | 92 | 3 | 266 | 600 | Non-prefixed function | ||
| #3735 | Product Category Slider & Grid for WooCommerce – WooCategory | 92 | 321 | 9k+ | Non-prefixed global variable | |||
| #3736 | Menu Cart for WooCommerce | 92 | 102 | 16 | 80k+ | Text Domain Mismatch | ||
| #3737 | WP DPE-GES | 92 | 84 | 59 | 600 | Text Domain Mismatch | ||
| #3738 | WP Quick Post Duplicator | 92 | 3 | 10 | 2k+ | trademarked term | ||
| #3739 | WPC AJAX Add to Cart for WooCommerce | 92 | 28 | 10k+ | Non-prefixed hook name | |||
| #3740 | WPC Price by Quantity for WooCommerce | 92 | 37 | 1k+ | Non-prefixed global variable | |||
| #3741 | Section Builder with Backgrounds – Customize with Color, Gradient, Image and Parallax. | 93 | 2 | 7 | 1k+ | Non-prefixed global variable | ||
| #3742 | Contextual Related Posts | 93 | 2 | 167 | 50k+ | Non-prefixed hook name | ||
| #3743 | Disable Blog | 93 | 2 | 22 | 10k+ | Non-prefixed global variable | ||
| #3744 | Disable CSS JS Cache | 93 | 9 | 400 | Non-prefixed function | |||
| #3745 | Enable Mastodon Apps | 93 | 13 | 75 | 600 | Non-prefixed global variable | ||
| #3746 | Leira Letter Avatar | 93 | 3 | 8 | 6k+ | Non-prefixed hook name | ||
| #3747 | Order Tip for WooCommerce | 93 | 42 | 68 | 2k+ | Non-prefixed global variable | ||
| #3748 | Contact Form & SMTP Plugin for WordPress by PirateForms | 93 | 14 | 102 | 30k+ | Non-prefixed hook name | ||
| #3749 | Simple File List | 93 | 1 | 525 | 3k+ | Non-prefixed global variable | ||
| #3750 | Single Category Permalink | 93 | 5 | 12 | 400 | Non-prefixed global variable |