WordPress.NamingConventions.PrefixAllGlobals.InvalidPrefixPassed

Non-prefixed global symbol

The plugin defines a global symbol 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 symbol 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
#101Last Viewed Posts by WPBeginner9834500Missing direct file access protection
#102ACF Post-2-Post98173k+Non-prefixed hook name
#103Tableberg – Simple Gutenberg Table Block98343k+date date
#1043D Viewer – Turn Product Pages into Interactive 3D Experiences99169k+Non-prefixed global variable
#105Abs – Additional block styles997400Non-prefixed constant
#106Bit integrations – Form Integration, Webhook, Spreadsheets, CRM, LMS & Email Automation99420k+Non-prefixed constant