WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedNamespaceFound

Non-prefixed namespace

The plugin defines a namespace 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 namespace 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
#201Restricted Site Access91141110k+Missing Arg Domain
#202Text To Speech TTS Accessibility931613k+Non-prefixed hook name
#203ACF Options For Polylang9492310k+Non-prefixed constant
#204Dashboard Welcome for Elementor941220k+Non-prefixed class
#205Vertical Timeline Widget for Elementor991010k+Non-prefixed function