Skip to content

Prefix global variables in uninstall.php #130

Description

@CoachBirgit

Description

Two global variables don't use the plugin prefix:

  • Line 21: $sites → rename to $wp_agentic_admin_sites
  • Line 23: $site → rename to $wp_agentic_admin_site

PHPCS rule

WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

Activity

  1. added a commit that references this issue on May 12, 2026
    70f70c7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions