Skip to content

Provide plugin and theme directories as built-in variables #381

Closed

Description

@schlessera

Scenarios run wp plugin path or wp theme path and save the output only to get the plugins or themes directory, for example as {PLUGIN_DIR} or {THEME_DIR}. These locations are known as soon as WordPress is installed, yet getting them costs a WordPress bootstrap each time. This happens about 80 times per suite run, mostly in scaffold-command and extension-command.

Providing these directories as built-in variables would remove the extra process and the boilerplate steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions