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
#1651Admin Tools38189103k+Unsafe printing function
#1652Afterpay Gateway for WooCommerce381836210k+Text Domain Mismatch
#1653Attachments38238668k+Unsafe printing function
#1654Audio Story Images384644400Output is not escaped
#1655Blogger Importer38443950k+Output is not escaped
#1656Cecabank WooCommerce Plugin3863323k+Text Domain Mismatch
#1657Chatbot for WordPress by Collect.chat ⚡️3858366k+Unsafe printing function
#1658country-redirect385819400Text Domain Mismatch
#1659Login Page Customizer – Customize Login Screen & Branding38361721k+Non-prefixed function
#1660Decent Comments3893282k+Output is not escaped
#1661Responsive Pricing Table3830910510k+Non Singular String Literal Domain
#1662PiWeb Product Enquiry or product catalog for WooCommerce382551451k+Text Domain Mismatch
#1663EU Cookie Law Compliance38151222k+Non Singular String Literal Domain
#1664Export to Blogger3847117900Non-prefixed global variable
#1665Social Shop for WooCommerce385124800Output is not escaped
#1666GoUrl WooCommerce – Bitcoin Altcoin Payment Gateway Addon3827924600Non Singular String Literal Domain
#1667Jupiter X Core387176780k+Non-prefixed global variable
#1668Lana Downloads Manager38146783k+Unsafe printing function
#1669MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites383136700k+Non-prefixed hook name
#1670Majestic Support – The Leading-Edge Help Desk & Customer Support Plugin3824573k+Input is not sanitized
#1671Auto SEO META keywords (META tags keywords) optimization + WooCommerce386334700Output is not escaped
#1672One Click Demo Import3822841m+Non-prefixed global variable
#1673Author Image3851331k+Output is not escaped
#1674LinkBoss – Semantic AI Internal Linking3828572k+Missing Arg Domain
#1675Simple Keyword to Link3890493k+Non Singular String Literal Domain
#1676Smart Maintenance Mode381371281k+Output is not escaped
#1677SOGO Accessibility38147405k+Non Singular String Literal Domain
#1678Sticky Header Effects for Elementor3824371300k+Text Domain Mismatch
#1679Templatiq383194900Non-prefixed hook name
#1680Product Compare for WooCommerce38551913k+Non-prefixed global variable
#1681Variation Swatches for WooCommerce3845652k+Output is not escaped
#1682Theme Blvd Widget Pack38240172k+Output is not escaped
#1683Twitter for WordPress3847241k+Output is not escaped
#1684Chatbox Manager3885578400Output is not escaped
#1685SSLCommerz Payment Gateway38211322k+Non-prefixed global variable
#1686Photo Reviews for WooCommerce382622210k+Request data is not unslashed
#1687WP Video Lightbox381076730k+Unsafe printing function
#1688WPC Product Options for WooCommerce38571824k+Non-prefixed global variable
#1689Smart Custom 404 Error Page399044100k+Output is not escaped
#1690Advanced Categories Widget3917041800Output is not escaped
#1691AffiliatePages – Pros & Cons, Notice, and CTA Blocks for Affiliates3991532k+Output is not escaped
#1692Load More Anything3938735k+Output is not escaped
#1693Header Footer for Beaver Builder39393110k+Output is not escaped
#1694bbPress Voting392753500Output is not escaped
#1695Blackhole for Bad Bots391236930k+Output is not escaped
#1696Culqi39571881k+Text Domain Mismatch
#1697Da Reactions3915140400Request data is not unslashed
#1698DefendWP Firewall39162033k+Non-prefixed global variable
#1699Deliverability – pass DKIM, SPF, DMARC & more392171800Nonce verification recommended
#1700Duplicate Killer – Prevent Duplicate Form Submissions39571031k+Non-prefixed global variable