WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
Non-prefixed global variable
The plugin defines a global variable 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 global variable 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 |
|---|---|---|---|---|---|---|---|---|
| #2251 | Product Input Fields for WooCommerce | 35 | 18 | 84 | 4k+ | Non-prefixed function | ||
| #2252 | Min Max Step Quantity Limits Manager for WooCommerce | 35 | 67 | 158 | 3k+ | Non-prefixed global variable | ||
| #2253 | Ninjalytics: Sales Reports & Order Export for WooCommerce and EDD | 35 | 6 | 32 | 6k+ | Non-prefixed global variable | ||
| #2254 | Pronamic Client | 35 | 111 | 48 | 700 | Output is not escaped | ||
| #2255 | Publitio | 35 | 47 | 26 | 400 | curl curl setopt | ||
| #2256 | Push Notifications by LaraPush | 35 | 32 | 76 | 5k+ | Non-prefixed global variable | ||
| #2257 | Push7 | 35 | 45 | 17 | 700 | Short PHP open tag found | ||
| #2258 | QuickWebP – Compress / Optimize Images & Convert WebP | SEO Friendly | 35 | 225 | 110 | 8k+ | Non Singular String Literal Domain | ||
| #2259 | Quran multilanguage Text & Audio | 35 | 177 | 166 | 500 | Output is not escaped | ||
| #2260 | Flutterwave WooCommerce | 35 | 7 | 20 | 2k+ | Non-prefixed class | ||
| #2261 | ReactPress – Create React App for WordPress | 35 | 26 | 43 | 3k+ | Request data is not unslashed | ||
| #2262 | Really Simple Google Tag Manager (GTM) | 35 | 115 | 15 | 4k+ | Text Domain Mismatch | ||
| #2263 | Related Posts by Taxonomy | 35 | 131 | 97 | 10k+ | Output is not escaped | ||
| #2264 | Related Posts for WordPress | 35 | 207 | 180 | 10k+ | Output is not escaped | ||
| #2265 | Remove Dashboard Access | 35 | 16 | 23 | 30k+ | wp function not compatible with requires wp | ||
| #2266 | ReOrder Posts within Categories | 35 | 39 | 207 | 7k+ | Non-prefixed global variable | ||
| #2267 | Reseller Store | 35 | 53 | 34 | 1k+ | Output is not escaped | ||
| #2268 | Restrict Elementor Widgets, Columns and Sections | 35 | 18 | 53 | 500 | Non-prefixed function | ||
| #2269 | Reveal IDs | 35 | 23 | 13 | 40k+ | Output is not escaped | ||
| #2270 | ReviewX – Multi-Criteria Reviews for WooCommerce with Google Reviews & Schema | 35 | 14 | 20 | 7k+ | error log error log | ||
| #2271 | sCode (Easy Shortcodes) | 35 | 157 | 97 | 400 | Text Domain Mismatch | ||
| #2272 | Search Attributes for WooCommerce | 35 | 26 | 3 | 600 | Text Domain Mismatch | ||
| #2273 | Internal Links Manager | 35 | 188 | 121 | 10k+ | Output is not escaped | ||
| #2274 | SEUR Oficial | 35 | 25 | 298 | 1k+ | Non-prefixed global variable | ||
| #2275 | ShareThis Follow Buttons | 35 | 1 | 9 | 400 | Non-prefixed global variable | ||
| #2276 | ShareThis Reaction Buttons | 35 | 1 | 7 | 600 | Non-prefixed global variable | ||
| #2277 | FlexTable – Data Table Sync with Google Sheets | 35 | 20 | 78 | 4k+ | Direct Query | ||
| #2278 | Shipping Zones by Drawing for WooCommerce | 35 | 278 | 95 | 600 | Text Domain Mismatch | ||
| #2279 | Shop Page WP | 35 | 68 | 23 | 2k+ | Unsafe printing function | ||
| #2280 | ShopMagic Abandoned Cart Recovery for WooCommerce | 35 | 16 | 23 | 2k+ | Non-prefixed global variable | ||
| #2281 | ShopMagic for Google Sheets | 35 | 8 | 9 | 400 | Non-prefixed global variable | ||
| #2282 | ShopMagic – Twilio SMS | 35 | 2 | 10 | 800 | Non-prefixed global variable | ||
| #2283 | SHOPVOTE | 35 | 64 | 58 | 400 | curl curl setopt | ||
| #2284 | Simple CAPTCHA with Cloudflare Turnstile | 35 | 82 | 148 | 100k+ | Output is not escaped | ||
| #2285 | Simple History – Track, Log, and Audit WordPress Changes | 35 | 32 | 122 | 300k+ | Non-prefixed global variable | ||
| #2286 | Simple Image Sizes | 35 | 53 | 75 | 60k+ | Unsafe printing function | ||
| #2287 | Simple Post Type Permalinks | 35 | 16 | 1 | 9k+ | date date | ||
| #2288 | Simple YouTube Responsive | 35 | 75 | 8 | 3k+ | wp function not compatible with requires wp | ||
| #2289 | Simple Analytics | 35 | 25 | 20 | 1k+ | Output is not escaped | ||
| #2290 | SiteGround Migrator | 35 | 113 | 74 | 80k+ | Missing Arg Domain | ||
| #2291 | Sky Login Redirect | 35 | 7 | 24 | 2k+ | Non-prefixed hook name | ||
| #2292 | Slope Widgets | 35 | 5 | 49 | 500 | Non-prefixed global variable | ||
| #2293 | SMNTCS Custom Logo Link | 35 | 48 | 1 | 3k+ | badly named files | ||
| #2294 | SiteOrigin CSS | 35 | 61 | 84 | 100k+ | Not In Footer | ||
| #2295 | WPZOOM Connect: Social Icons Widget, Share Buttons & Click to Chat | 35 | 28 | 31 | 90k+ | Input is not sanitized | ||
| #2296 | Quiz Maker, Poll Maker & Survey Maker by Opinion Stage | 35 | 42 | 32 | 6k+ | Output is not escaped | ||
| #2297 | Social Sharing Plugin – Social Warfare | 35 | 17 | 143 | 20k+ | Non-prefixed class | ||
| #2298 | Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution | 35 | 75 | 61 | 4k+ | Exception output is not escaped | ||
| #2299 | Spacious Toolkit | 35 | 48 | 94 | 700 | Non-prefixed global variable | ||
| #2300 | Spectra Blocks – AI Website Builder for the Block Editor | 35 | 241 | 1,276 | 8k+ | Non-prefixed global variable |