WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

Non-prefixed global variable

The plugin defines a global variable 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 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.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#2201Magical Addons For Elementor ( Header Footer Builder, Free Elementor Widgets, Elementor Templates Library )352661275k+Output is not escaped
#2202Mail Queue35251031k+Nonce verification recommended
#2203MainWP Child Reports3549116100k+Non-prefixed hook name
#2204Marquee image crawler35168136700Non-prefixed global variable
#2205Media Credit3528351k+Non-prefixed global variable
#2206MeetingHub – Webinar & Meeting Plugin for Zoom, Google Meet, Webex, Microsoft Teams, & Jitsi Meet3537313400Non-prefixed global variable
#2207Metadata Viewer35211400Non-prefixed global variable
#2208Mini Ajax Cart for WooCommerce35297240900Text Domain Mismatch
#2209Mini Cart for WooCommerce – Add a Stylish Sliding Cart3542160600Non-prefixed global variable
#2210SAML IDP (Identity Provider) – Login with Website Users3513326600Non-prefixed global variable
#2211MONEI Payments for WooCommerce351565500Non-prefixed hook name
#2212mosparo Integration35114301900Missing nonce verification
#2213AI Product Search for WooCommerce – Motive Commerce Search357082400Missing direct file access protection
#2214Hide from Search35583k+Missing direct file access protection
#2215Never Let Me Go353447400Non-prefixed global variable
#2216NewsPlugin358453400Text Domain Mismatch
#2217NGG Smart Image Search35298155400Output is not escaped
#2218Nginx Cache Controller3579961k+Text Domain Mismatch
#2219Nooz35287108500Text Domain Mismatch
#2220Noted!355221k+Non-prefixed global variable
#2221Meta pixel for WordPress359040400k+Exception output is not escaped
#2222Email Marketing for WooCommerce by Omnisend35122140k+Non-prefixed function
#2223ONet Regenerate Thumbnails35190641k+Text Domain Mismatch
#2224Plugin Ongkos Kirim JNE Tiki Sicepat Wahana J&T POS for Woocommerce351171442k+Output is not escaped
#2225Out of the Block: OpenStreetMap3594700Missing direct file access protection
#2226OPcache Manager35155751k+Output is not escaped
#2227Order Delivery Date for WooCommerce352,0757310k+wp function not compatible with requires wp
#2228Orderable – Restaurant & Food Ordering System35123245k+Non-prefixed global variable
#2229OT Flatsome Vertical Menu351262610k+Text Domain Mismatch
#2230Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE3513141300k+Missing direct file access protection
#2231Page Optimize357041200k+Non Singular String Literal Domain
#2232Page Visits Counter – Lite3528355k+Output is not escaped
#2233Paytrail for WooCommerce3528463k+Non-prefixed global variable
#2234Pearl – Header Builder3572835k+Non-prefixed global variable
#2235Perfecty Push Notifications352042134k+SQL query is not prepared
#2236Permissions Editor for Ninja Forms352961k+Output is not escaped
#2237Phone Orders for WooCommerce3512291k+Non-prefixed hook name
#2238Pie Calendar – Events Calendar Made Simple3583531k+Text Domain Mismatch
#2239Piwik PRO352233k+Output is not escaped
#2240Planyo online reservation system356490400Output is not escaped
#2241Accept Cryptocurrencies with Plisio3537471k+Text Domain Mismatch
#2242Pochipp352710220k+Non-prefixed global variable
#2243Poptin – Email Marketing Automation, Newsletter & Exit Pop Ups, Email Popups351682920k+Output is not escaped
#2244Popup with fancybox35196168900Unsafe printing function
#2245Post List Featured Image35112100900Output is not escaped
#2246Post Meta Data Manager35301121k+Non-prefixed global variable
#2247Posts Table with Search & Sort35143333k+Text Domain Mismatch
#2248Presto Player353778100k+Missing Arg Domain
#2249Product Prices by User Roles for WooCommerce3512191k+Non-prefixed hook name
#2250Product Delivery Date for WooCommerce – Lite35171271k+Text Domain Mismatch