Skip to content

--user=<user> argument unexpectedly looks up by ID when username is numeric #5706

@vihai

Description

@vihai

Hello,

Many commands match username, ID and email automatically for the "user" parameters.

Sometimes users have numeric-only username and wp-cli commands match either the username or the ID incorrectly.

There should be a way to identify the user unequivocally.

Bye,

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions