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
#2401Prevent Direct Access – Protect WordPress Files9642610k+Non-prefixed constant
#2402Team Members96151620k+Missing direct file access protection
#2403Timeline Blocks for Gutenberg96525500Non-prefixed class
#2404Wikipedia Preview968151k+Non-prefixed function
#2405Cart Weight for WooCommerce965121k+Non-prefixed global variable
#2406WP Flipclock9678700Missing direct file access protection
#2407Lucky Wheel Giveaway96327500Non-prefixed constant
#2408WP Offload SES Lite96541510k+Text Domain Mismatch
#2409Advanced Addons – Animation and Custom CSS for Gutenberg and Elementor9718700Not In Footer
#2410Advanced Google reCAPTCHA97315200k+Non-prefixed global variable
#2411Aruba HiSpeed Cache97125100k+wp function not compatible with requires wp
#2412Contact Form to Any API971158k+Non-prefixed class
#2413Markdown Editor (Formerly Dark Mode)972191k+Non-prefixed function
#2414Meta Field Block – Display custom fields in the Block Editor without coding9711110k+Non-prefixed hook name
#2415Easy Lightbox – Image, Gallery and Video Lightbox for WordPress97251k+trademarked term
#2416Favicon by RealFaviconGenerator971018200k+Non-prefixed constant
#2417Geo Redirect971011k+Missing direct file access protection
#2418Address Autocomplete via Google for Gravity Forms971252k+Non-prefixed global variable
#2419Power Boost for Gravity Forms97710500wp function not compatible with requires wp
#2420PowerPack for LearnDash9717381k+Text Domain Mismatch
#2421Spiraclethemes Site Library97271k+Non-prefixed global variable
#2422Proxy Cache Purge974450k+Non-prefixed hook name
#2423Remote Website Management by Watchful974123k+Direct Query
#2424Watermark RELOADED9763700Non-prefixed constant
#2425GSheetConnector for WooCommerce – Send your Orders and Products to Google Sheet in Real-Time97343k+Non-prefixed constant
#2426Ozow Gateway for WooCommerce97210800Non-prefixed constant
#2427WPC Fly Cart for WooCommerce973210k+Non-prefixed hook name
#2428Faview – Virtual Reviews for WooCommerce973198k+Non-prefixed constant
#2429WordPress Beta Tester971153k+Non-prefixed hook name
#2430WPArtisan Filename Sanitizer9725400trademarked term
#2431WPC Coupon Listing for WooCommerce974181k+Non-prefixed class
#2432WPC Product Size Chart for WooCommerce97192k+Non-prefixed class
#2433WPC Share Cart for WooCommerce97321k+Non-prefixed hook name
#2434Smart Coupons For WooCommerce Coupons9735830k+Non-prefixed class
#2435Blocks for ACF Fields — Display Custom Fields in the Block Editor98211k+Non-prefixed hook name
#2436Airi Demo Importer98171k+Deprecated function: get_page_by_title
#2437Style Kits for Elementor9821510k+Non-prefixed constant
#2438Accordion – Responsive Horizontal & Vertical Accordion Block98110600Non-prefixed constant
#2439Block for Font Awesome98741k+Offloaded Content
#2440Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts98381k+Non-prefixed hook name
#2441Bisteinoff SEO Robots.txt9862500wp function not compatible with requires wp
#2442ElasticPress Debugging Add-On98210800Non-prefixed hook name
#2443WebToffee eCommerce Marketing Automation – Email marketing, Popups, Email customizer9821210k+Non-prefixed class
#2444Easy Access Reusable Blocks9833500Non-prefixed constant
#2445Easy Primary Category98251k+Non-prefixed constant
#2446Find My Blocks – Locate blocks on your site98274k+Non-prefixed function
#2447Flexible Table Block984740k+Non-prefixed constant
#2448GUI for List Category Posts9861600Missing direct file access protection
#2449Item Lists for Elementor981491k+Non-prefixed global variable
#2450Latest Post Shortcode98564k+Non-prefixed constant