WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound

Non-prefixed constant

The plugin defines a constant 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 constant 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
#2001Creative Commons6110317700Text Domain Mismatch
#2002Country and State Selection Addon for Gravity Forms6114261k+Non-prefixed constant
#2003Marker.io – Visual Website Feedback616314k+Request data is not unslashed
#2004Multiple Post Passwords6113152k+Output is not escaped
#2005Newspack Newsletters6153471k+Request data is not unslashed
#2006HuCommerce | Magyar kiegészítések WooCommerce webáruházakhoz611719410k+Non-prefixed function
#2007ARI Fancy Lightbox – Popup for WordPress62810710k+Non-prefixed namespace
#2008Christmas Panda621445400Input is not validated
#2009Custom Permalink Editor624513k+Non-prefixed hook name
#2010Devices for Elementor622213400Output is not escaped
#2011Disable Visual Editor WYSIWYG6210121k+Nonce verification recommended
#2012Cron Jobs6221332k+Nonce verification recommended
#2013Nimbata Call Tracking621311400Non-prefixed function
#2014Responsive Slider Gallery – Responsive Image Photo Slider62321222k+Non-prefixed global variable
#2015WP Category Sort621522500Text Domain Mismatch
#2016WP Charts and Graphs – WordPress Chart Plugin628291k+Input is not sanitized
#2017Classic Editor and Classic Widgets63184120k+Nonce verification recommended
#2018Happierleads – Identify your B2B website visitors even if they work remotely63327600wp function not compatible with requires wp
#2019Social Intents – Live Chat634211400Non Singular String Literal Domain
#2020Contact Form to Chat Apps | Click to Chat to Order – FormyChat63301363k+Direct Query
#2021PayPing Gateway For Woocommerce6311401k+Non-prefixed hook name
#2022WPC Variation Bulk Editor for WooCommerce6313321k+Request data is not unslashed
#2023Admin CSS MU643058210k+Non-prefixed global variable
#2024Channel.io641431k+Output is not escaped
#2025Advanced Comment Form646864k+Output is not escaped
#2026CV Demo Importer642195400Non-prefixed global variable
#2027Product Import Export for WooCommerce – Import Export Product CSV Suite6424676680k+Non-prefixed global variable
#2028Stancer for WooCommerce642108400Non-prefixed global variable
#2029Werk aan de Muur644820900Non Singular String Literal Domain
#2030JTL-Connector for WooCommerce6471661k+Direct Query
#2031WPC Shop as a Customer for WooCommerce64538400Request data is not unslashed
#2032AdSimple Cookie Consent Banner6555109600wp function not compatible with requires wp
#2033Cyr to Lat Reloaded – Transliteration of Links and File Names65133630k+Direct Query
#2034QRCode652139400Non-prefixed constant
#2035Futy.io Leadbots657392k+wp function not compatible with requires wp
#2036Notibar – Notification Bar for WordPress6543628k+wp function not compatible with requires wp
#2037WebberZone Top 10 — Popular Posts653717610k+Database parameter is not escaped
#2038WP-Farsi652636600Non-prefixed function
#2039WPC Free Gift Coupons for WooCommerce65825400Non-prefixed class
#2040Bopo – WooCommerce Product Bundle Builder661371351k+Text Domain Mismatch
#2041Debug Log Manager – Conveniently Monitor and Inspect Errors66334410k+Input is not validated
#2042Export Categories6622131k+Output is not escaped
#2043IranDargah Payment Gateway for Woocommerce666626400Text Domain Mismatch
#2044Safe Redirect Manager6696040k+Non-prefixed hook name
#2045Frenet Shipping Gateway for WooCommerce – Correios, Etiquetas e Rastreio6622314k+Non-prefixed global variable
#2046Add Logo to Admin671437k+Unsafe printing function
#2047Breadcrumbs Divi Module67443810k+Text Domain Mismatch
#2048Card Elements for Elementor67151163k+Non-prefixed global variable
#2049Easy Media Replace6716141k+Output is not escaped
#2050WordPress.com Editing Toolkit6752901k+Missing direct file access protection