WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound
Non-prefixed class
The plugin defines a class 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 class 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 |
|---|---|---|---|---|---|---|---|---|
| #3051 | WP Edit Username | 98 | 1 | 14 | 2k+ | Non-prefixed hook name | ||
| #3052 | Wp Post Views – WordPress Post views counter | 98 | 3 | 10 | 4k+ | Non-prefixed class | ||
| #3053 | WP Scraper | 98 | 2 | 4 | 2k+ | trademarked term | ||
| #3054 | WP Snow Effect | 98 | 5 | 4 | 1k+ | Missing direct file access protection | ||
| #3055 | WPC Linked Variation for WooCommerce | 98 | 15 | 3k+ | Non-prefixed class | |||
| #3056 | WPC Name Your Price for WooCommerce | 98 | 16 | 6k+ | Non-prefixed class | |||
| #3057 | WPC Product Image Swap for WooCommerce | 98 | 15 | 1k+ | Non-prefixed class | |||
| #3058 | WPC Product Tabs for WooCommerce | 98 | 17 | 900 | Non-prefixed class | |||
| #3059 | WPC Product Videos for WooCommerce | 98 | 15 | 3k+ | Non-prefixed class | |||
| #3060 | WPC Sticky Add To Cart for WooCommerce | 98 | 17 | 2k+ | Non-prefixed class | |||
| #3061 | Wishlist for WooCommerce | 98 | 2 | 10 | 800 | Non-prefixed constant | ||
| #3062 | Yumpu E-Paper publishing | 98 | 2 | 2 | 1k+ | Missing direct file access protection | ||
| #3063 | Vertical Timeline Widget for Elementor | 99 | 10 | 10k+ | Non-prefixed function | |||
| #3064 | AcyMailing integration for WooCommerce | 99 | 4 | 400 | Non-prefixed class | |||
| #3065 | Abs – Additional block styles | 99 | 7 | 400 | Non-prefixed constant | |||
| #3066 | Alert Box Block | 99 | 6 | 500 | Non-prefixed constant | |||
| #3067 | BD Courier Order Ratio Checker | 99 | 1 | 5 | 2k+ | Non-prefixed class | ||
| #3068 | BotBlocker Security – Firewall & Bot Protection | 99 | 5 | 3k+ | Non-prefixed constant | |||
| #3069 | Checkout Gateway for IRIS | 99 | 1 | 2 | 1k+ | Non-prefixed class | ||
| #3070 | Classic Menu in Navigation Block | 99 | 1 | 3 | 2k+ | Non-prefixed class | ||
| #3071 | Country Code For Elementor Form Telephone Field | 99 | 10 | 1 | 10k+ | Text Domain Mismatch | ||
| #3072 | Pay With MetaMask For WooCommerce – Cryptocurrency Payment Gateway | 99 | 3 | 4 | 600 | Missing direct file access protection | ||
| #3073 | Custom Favicon – Easily Add a Favicon in WordPress | 99 | 1 | 2 | 5k+ | Discouraged text-domain loading | ||
| #3074 | Custom Feed for TikTok – Social Post Feed Plugin for TikTok | 99 | 3 | 1k+ | Non-prefixed class | |||
| #3075 | Easy Actions Scheduler Cleaner | 99 | 2 | 3 | 700 | wp function not compatible with requires wp | ||
| #3076 | Emails Catch All | 99 | 10 | 600 | Non-prefixed constant | |||
| #3077 | Enable All Font Uploads | 99 | 1 | 1 | 400 | Non-prefixed class | ||
| #3078 | Essential Widgets | 99 | 3 | 10k+ | Non-prefixed function | |||
| #3079 | Event Single Page Builder For The Events Calendar | 99 | 1 | 2 | 6k+ | Non-prefixed class | ||
| #3080 | Awesome FAQ – Modern Accordion, Tabs, Responsive & Super Fast FAQ Builder | 99 | 7 | 800 | Non-prefixed class | |||
| #3081 | Favicon Rotator | 99 | 2 | 2 | 20k+ | wp function not compatible with requires wp | ||
| #3082 | Header and Footer Scripts | 99 | 2 | 1 | 200k+ | Non-prefixed class | ||
| #3083 | Header Footer Builder for Elementor | 99 | 5 | 20k+ | Non-prefixed class | |||
| #3084 | Hide Broken Shortcodes | 99 | 1 | 3 | 400 | unexpected markdown file | ||
| #3085 | HLS Player | 99 | 1 | 1 | 600 | Non-prefixed class | ||
| #3086 | Hover Effects – easily create any hover effect | 99 | 9 | 8k+ | Non-prefixed global variable | |||
| #3087 | HTML5 Video Player – Embed and Play Videos in Custom Player | 99 | 5 | 20k+ | Non-prefixed global variable | |||
| #3088 | Iconic Copy Text Blocks | 99 | 1 | 1 | 600 | Non-prefixed class | ||
| #3089 | ICS Calendar | 99 | 2 | 1 | 10k+ | wp function not compatible with requires wp | ||
| #3090 | Language Fallback | 99 | 2 | 1 | 5k+ | Missing direct file access protection | ||
| #3091 | List MixCloud | 99 | 3 | 400 | Non-prefixed class | |||
| #3092 | Markdown for AI Agents | 99 | 1 | 1 | 500 | Non-prefixed class | ||
| #3093 | Options for Twenty Seventeen | 99 | 2 | 2 | 9k+ | Non-prefixed class | ||
| #3094 | Plugin Report | 99 | 5 | 1k+ | trademarked term | |||
| #3095 | Portugal States (Distritos) for WooCommerce | 99 | 7 | 5k+ | Non-prefixed function | |||
| #3096 | Print Page Block – Print Full Page or Specific Section | 99 | 4 | 1k+ | Non-prefixed constant | |||
| #3097 | PVT – Product Variation Table for WooCommerce | 99 | 2 | 2 | 1k+ | Non-prefixed class | ||
| #3098 | Quads Ads Manager for Google AdSense | 99 | 8 | 20k+ | Non-prefixed constant | |||
| #3099 | RT Mega Menu – Mega Menu Builder for Elementor & Gutenberg | 99 | 7 | 8k+ | Non-prefixed global variable | |||
| #3100 | FormsDB – Save Elementor Forms to Google Sheets & Post Type | 99 | 7 | 20k+ | Non-prefixed class |