Skip to content

Set default context to "auto" #6252

@swissspidy

Description

@swissspidy

WP-CLI v2.6.0 introduced the --context argument, see https://make.wordpress.org/cli/2022/01/26/wp-cli-v2-6-0-release-notes/

There it was announced --context=auto will become the new default in v2.7.0, but this never happened.

People keep running into issues with paid plugins, either being unaware of the flag (we should improve documentation) or despite the flag (see #5320).

Once we've fixed the remaining quirks, we should finally make good on the promise and change the default behavior going forward.

v3.0.0 is an excellent opportunity for that.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions