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
#2101Comment Edit Core – Simple Comment Editing7327852k+Non-prefixed hook name
#2102Video Background Block – Use video as background in section.7333922k+Non-prefixed global variable
#2103Bing URL Submissions Plugin74103840k+error log error log
#2104Buy Now Button for WooCommerce749112k+Nonce verification recommended
#2105Custom Icons for Elementor and WPBakery74353810k+Non-prefixed global variable
#2106Markup Markdown74181282k+Non-prefixed global variable
#2107Outfunnel: Web Visitor Tracking & CRM Integration74349600Short PHP open tag found
#2108Post Grid Addon for Elementor74161310k+Missing direct file access protection
#2109Post My CF7 Form74211682k+Non-prefixed global variable
#2110QODE Optimizer74124920k+Non-prefixed global variable
#2111Site Mailer – SMTP Replacement, Email API Deliverability & Email Log74823200k+Output is not escaped
#2112Zion Builder – Website Builder for Speed & Creativity744291k+Non-prefixed hook name
#2113Conditional Logic Emails, Fields, Redirect for Elementor Forms75312312k+wp function not compatible with requires wp
#2114Custom Adobe Fonts (Typekit)75113360k+Non-prefixed global variable
#2115Easy Accordion – AI-Powered FAQ & Accordion Blocks, Product FAQ7530680k+Non-prefixed global variable
#2116PJ News Ticker7513143k+Output is not escaped
#2117Rapyd Payment Extension for WooCommerce755033400Text Domain Mismatch
#2118Services Section Block – Showcase Service Details in Grid or Columns759192k+Non-prefixed namespace
#2119Styleguide – Custom Fonts and Colors7559252k+Missing direct file access protection
#2120Testimonial – Testimonial Slider and Showcase Plugin7556323130k+Text Domain Mismatch
#2121Ukrposhta7524226500Non-prefixed global variable
#2122Brazilian Market on WooCommerce7545170k+Missing nonce verification
#2123wp-forecast752631175k+Missing Arg Domain
#2124Ajax Search Lite – Live Search & Filter7612626480k+Non-prefixed hook name
#2125Autocomplete WooCommerce Orders76705530k+Text Domain Mismatch
#2126Change Mail Sender76971920k+Text Domain Mismatch
#2127Disable Lazy Load7686400Non-prefixed constant
#2128FileBird Document Library7623135k+Text Domain Mismatch
#2129Test jQuery Updates761031k+Unsafe printing function
#2130Loyalty Points Rewards and Referral for WooCommerce – WPLoyalty762,2077603k+Text Domain Mismatch
#2131Better Search – Relevant search results for WordPress77181175k+Dynamic hook name
#2132easypay Gateway Checkout for WooCommerce77641600Nonce verification recommended
#2133RSS Aggregator by Feedzy – Feed to Post, Autoblogging, News & YouTube Video Feeds Aggregator773728240k+Non-prefixed global variable
#2134Self-Hosted Google Fonts77351130k+Text Domain Mismatch
#2135SendPulse Email Marketing Newsletter77871k+Output is not escaped
#2136SureRank SEO – Smart Assistant with Meta Tags, Social Preview, XML Sitemap, and Schema775894300k+Non-prefixed hook name
#2137wpsection771315543k+Non-prefixed global variable
#2138Advanced Custom Fields: Gravity Forms Add-on78331330k+Text Domain Mismatch
#2139ELEX WooCommerce Address Validation & Google Address Autocomplete Plugin787340700Missing Arg Domain
#2140Instant AI Image Generator – Create & Import Images78231k+Non-prefixed constant
#2141Animated Text Block – Add Typing and Looping Text Effects785254k+Non-prefixed class
#2142Player for SoundCloud – Embed and Play Audio Tracks7817241k+Text Domain Mismatch
#2143Layouts for Elementor78271k+Non-prefixed global variable
#2144Layouts for WPBakery78283k+Non-prefixed global variable
#2145Coming Soon & Maintenance Mode Page & Under Construction78356710k+Non-prefixed global variable
#2146One Time Login787840k+Nonce verification recommended
#2147PatternsWP – Gutenberg Block Patterns & Page Templates Library78125500Non-prefixed constant
#2148SearchWP Live Ajax Search7882350k+Non-prefixed global variable
#2149Typing Text – Add Animated Typing Effects to Headings or Text784253k+Non-prefixed class
#2150Twenty20 Image Before-After781041420k+Text Domain Mismatch