Skip to content

variables in template files are flagged as global #200

@joyously

Description

@joyously

The theme template files are supposed to be loaded with core functions. When they are, the variables used in them are not global, so do not need to be prefixed.

Each line with a variable is generating an error for Overriding WordPress globals is prohibited and Variables defined by a theme/plugin should start with the theme/plugin prefix.

Do we need a whitelist or keep track of which files are used with include or requre?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions