Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use WP_CLI_FORCE_USER_LOGIN=1 to force --user=<login>#5738

Merged
schlessera merged 4 commits into
mainwp-cli/wp-cli:mainfrom
5706-force-user-loginwp-cli/wp-cli:5706-force-user-loginCopy head branch name to clipboard
Feb 27, 2023
Merged

Use WP_CLI_FORCE_USER_LOGIN=1 to force --user=<login>#5738
schlessera merged 4 commits into
mainwp-cli/wp-cli:mainfrom
5706-force-user-loginwp-cli/wp-cli:5706-force-user-loginCopy head branch name to clipboard

Conversation

@danielbachhuber

@danielbachhuber danielbachhuber commented Feb 8, 2023

Copy link
Copy Markdown
Member

Also squelches with a warning when there's an ambiguous match.

To be documented with #5739

Fixes #5706

@danielbachhuber danielbachhuber added this to the 2.8.0 milestone Feb 8, 2023
@danielbachhuber danielbachhuber self-assigned this Feb 8, 2023
@danielbachhuber danielbachhuber requested a review from a team as a code owner February 8, 2023 20:20
Comment thread php/WP_CLI/Fetchers/User.php Outdated
@schlessera schlessera merged commit bbb6131 into main Feb 27, 2023
@schlessera schlessera deleted the 5706-force-user-login branch February 27, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.