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 |
|---|---|---|---|---|---|---|---|---|
| #2101 | Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News | 41 | 537 | 20k+ | Non-prefixed global variable | |||
| #2102 | Posts Viewed Recently | 41 | 58 | 16 | 700 | Output is not escaped | ||
| #2103 | Powie's WHOIS Domain Check | 41 | 38 | 11 | 500 | Unsafe printing function | ||
| #2104 | Service Showcase | 41 | 41 | 597 | 800 | Non-prefixed global variable | ||
| #2105 | Smooth Scroll Up | 41 | 61 | 10 | 6k+ | Output is not escaped | ||
| #2106 | Advanced Editor Tools | 41 | 143 | 84 | 1m+ | Unsafe printing function | ||
| #2107 | Advanced Custom Stock Status | 41 | 84 | 33 | 9k+ | Output is not escaped | ||
| #2108 | M-Pesa(Kenya) Checkout for Woocommerce | 41 | 46 | 38 | 1k+ | Text Domain Mismatch | ||
| #2109 | WPC Product Bundles for WooCommerce | 41 | 21 | 93 | 30k+ | Missing nonce verification | ||
| #2110 | WooCommerce Colors | 41 | 63 | 28 | 10k+ | Output is not escaped | ||
| #2111 | WP Dashboard Notes | 41 | 24 | 29 | 20k+ | Unsafe printing function | ||
| #2112 | WP Lorem ipsum | 41 | 37 | 29 | 500 | Unsafe printing function | ||
| #2113 | WP Media folders | 41 | 19 | 74 | 3k+ | Direct Query | ||
| #2114 | User Login Notifier for WordPress | 41 | 72 | 26 | 1k+ | Output is not escaped | ||
| #2115 | WPC Composite Products for WooCommerce | 41 | 11 | 73 | 9k+ | Missing nonce verification | ||
| #2116 | Pricing Table – Responsive & Easy | 42 | 117 | 148 | 3k+ | Non-prefixed global variable | ||
| #2117 | Add to Cart Button Custom Text | 42 | 98 | 4 | 10k+ | Text Domain Mismatch | ||
| #2118 | Add to Home Screen & Progressive Web App | 42 | 23 | 68 | 1k+ | Request data is not unslashed | ||
| #2119 | Admin Options Pages | 42 | 3 | 284 | 500 | Nonce verification recommended | ||
| #2120 | Automatic NBSP | 42 | 24 | 16 | 3k+ | Output is not escaped | ||
| #2121 | Basic SEO Pack | 42 | 86 | 8 | 700 | Output is not escaped | ||
| #2122 | CCAvenue Payment Gateway for WooCommerce | 42 | 53 | 40 | 3k+ | Text Domain Mismatch | ||
| #2123 | HTML Template for CF7 | 42 | 21 | 27 | 1k+ | Non-prefixed global variable | ||
| #2124 | Confetti | 42 | 136 | 17 | 3k+ | Unsafe printing function | ||
| #2125 | Contador de Visitas | 42 | 37 | 25 | 500 | SQL query is not prepared | ||
| #2126 | Custom Admin Page by BestWebSoft – Configurable WordPress Dashboard Pages Plugin | 42 | 472 | 181 | 400 | Text Domain Mismatch | ||
| #2127 | Dashboard Notes | 42 | 27 | 34 | 600 | Missing Arg Domain | ||
| #2128 | Disable Comments | 42 | 44 | 19 | 100k+ | Unsafe printing function | ||
| #2129 | Disable User Login | 42 | 25 | 19 | 5k+ | Unsafe printing function | ||
| #2130 | Simple HTML Sitemap | 42 | 42 | 20 | 1k+ | Text Domain Mismatch | ||
| #2131 | Embedly | 42 | 17 | 38 | 2k+ | Output is not escaped | ||
| #2132 | Enable Classic Editor & Widgets | 42 | 106 | 6 | 3k+ | Non Singular String Literal Domain | ||
| #2133 | First payment date for WooCommerce Subscriptions | 42 | 42 | 19 | 400 | Output is not escaped | ||
| #2134 | WP All Import – Import SEO Settings for Rank Math SEO | 42 | 18 | 44 | 7k+ | Nonce verification recommended | ||
| #2135 | Login No Captcha reCAPTCHA | 42 | 45 | 24 | 60k+ | Unsafe printing function | ||
| #2136 | Mailster Cool Captcha | 42 | 65 | 28 | 400 | Text Domain Mismatch | ||
| #2137 | Medical Addon for Elementor | 42 | 200 | 8 | 1k+ | Text Domain Mismatch | ||
| #2138 | PAYDUNYA WOOCOMMERCE PAR | 42 | 54 | 32 | 600 | Text Domain Mismatch | ||
| #2139 | Rename wp-admin login | 42 | 23 | 38 | 8k+ | Output is not escaped | ||
| #2140 | Responsive Mortgage Calculator | 42 | 38 | 28 | 7k+ | Output is not escaped | ||
| #2141 | Simple Meta Tags | 42 | 28 | 13 | 700 | Output is not escaped | ||
| #2142 | Staffer | 42 | 88 | 42 | 600 | Output is not escaped | ||
| #2143 | Vast Demo Import | 42 | 180 | 113 | 600 | Text Domain Mismatch | ||
| #2144 | WebPlanex: GST Invoice India | 42 | 63 | 63 | 400 | Text Domain Mismatch | ||
| #2145 | WPC Order Notes for WooCommerce | 42 | 24 | 41 | 900 | Output is not escaped | ||
| #2146 | WP Bulk Delete | 42 | 7 | 130 | 100k+ | Direct Query | ||
| #2147 | WP Child Theme Generator | 42 | 35 | 66 | 20k+ | Request data is not unslashed | ||
| #2148 | Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered) | 42 | 2,583 | 1,823 | 10k+ | Text Domain Mismatch | ||
| #2149 | WP Fingerprint | 42 | 34 | 47 | 9k+ | Direct Query | ||
| #2150 | WP Widget Clipboard – Duplicate widgets intuitively | 42 | 51 | 19 | 800 | Output is not escaped |