WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound

Non-prefixed class

The plugin defines a class without a plugin-specific prefix.

medium weight

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.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#2451Awesome Contact Form7 for Elementor6720307k+Non-prefixed global variable
#2452Breadcrumbs Divi Module67443810k+Text Domain Mismatch
#2453Flexible Product Fields (WooCommerce Product Addons) – WooCommerce Product Page Editor67579810k+Non-prefixed global variable
#2454WordPress.com Editing Toolkit6752901k+Missing direct file access protection
#2455Mailster Gmail Integration6715131k+Missing Translators Comment
#2456Mosaic Gallery – Advanced Gallery6745793k+Non-prefixed global variable
#2457Notely67617600Non-prefixed function
#2458Product Variations Swatches for WooCommerce67813610k+Non-prefixed global variable
#2459WebToffee WooCommerce Product Feeds – Google Shopping, Pinterest, TikTok Ads, & More671782,8992k+Non-prefixed hook name
#2460WP Image Zoom67304610k+Non-prefixed global variable
#2461WP Logout Redirect67205400Unsafe printing function
#2462WPC Show Single Variations for WooCommerce675311k+Nonce verification recommended
#2463Autoclear Autoptimize Cache681638k+Output is not escaped
#2464Book Previewer for Woocommerce6823401k+Non-prefixed global variable
#2465Category Featured Images68512600Input is not sanitized
#2466Comment Approved68614500Input is not sanitized
#2467Export media with selected content (by DKZR)68101440k+Direct Query
#2468Free Assets Library – Openverse/Pixabay 600+ Million Images6844364k+Text Domain Mismatch
#2469ミエルカヒートマップ タグマネージャー68911800Input is not validated
#2470POS Entegratör – Gurmehub Ödeme Eklentisi681,321691k+Text Domain Mismatch
#2471Postepay Gateway per Woocommerce683641k+Text Domain Mismatch
#2472Protection Against DDoS682253k+Output is not escaped
#2473Reusable Gutenberg Blocks Widget68249500Output is not escaped
#2474Export and Import Users and Customers6822366260k+Non-prefixed global variable
#2475Video Tab For WooCommerce68713600Missing nonce verification
#2476Product Category Slider for WooCommerce6821104800Non-prefixed hook name
#2477WP and Divi Icons68201562k+wp function not compatible with requires wp
#2478WP Smart Preloader6827105k+Output is not escaped
#2479Solid Mail – SMTP email and logging made by SolidWP68161760k+Database parameter is not escaped
#2480WP Theme Changelogs681318900Nonce verification recommended
#2481Age Gate696113940k+Missing direct file access protection
#2482WP Wand – Unlimited Content Generation using AI – for OpenAI, Claude, Openrouter and Deepseek69452251k+Text Domain Mismatch
#2483Custom Archive Titles693942k+Output is not escaped
#2484Debug Bar Rewrite Rules692938800Non-prefixed global variable
#2485ELEX WooCommerce Bulk Edit Products, Prices & Attributes (Basic)69511514k+Text Domain Mismatch
#2486Gist All-In-One Marketing – Live Chat, Popups, Email692411500Output is not escaped
#2487Search & Filter69212850k+Input is not sanitized
#2488Simple Mathjax692934k+Short PHP open tag found
#2489SlingBlocks – Gutenberg Blocks by FunnelKit (Formerly WooFunnels)69179527k+Non-prefixed global variable
#2490Sticky Header Effects for Elementor6935471300k+Text Domain Mismatch
#2491TJ Custom CSS6918108k+Output is not escaped
#2492WC Variations Radio Buttons6912213k+Non-prefixed global variable
#2493Export WordPress Menus6994221k+wp function not compatible with requires wp
#2494WP Mapa Politico España693212400Output is not escaped
#2495WP referrer spam blacklist (fight 2040+ Referrer Spammers in (Google/Matomo) Analytics)69924700Non-prefixed constant
#2496Add Widget After Content706117k+Setting is missing a sanitization callback
#2497Host Header Injection Fix7098400Output is not escaped
#2498Press This701445k+Non-prefixed hook name
#2499Simple Sticky Header on Scroll70318900Output is not escaped
#2500Upsell Funnel Builder for WooCommerce – Create Upsells, Cross-Sells, Order Bumps, Frequently Bought, and Popups.7031,4463k+Non-prefixed global variable