Skip to content

Commit 45926c9

Browse files
authored
Merge pull request #116 from wp-cli/115-rm-user-login
Remove `user_login` from arguments for updating a user
2 parents 535857a + 7d4c02d commit 45926c9

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5326,7 +5326,7 @@ wp user unspam <id>...
53265326
Updates an existing user.
53275327

53285328
~~~
5329-
wp user update <user>... [--user_pass=<password>] [--user_login=<login>] [--user_nicename=<nice_name>] [--user_url=<url>] [--user_email=<email>] [--display_name=<display_name>] [--nickname=<nickname>] [--first_name=<first_name>] [--last_name=<last_name>] [--description=<description>] [--rich_editing=<rich_editing>] [--user_registered=<yyyy-mm-dd-hh-ii-ss>] [--role=<role>] --<field>=<value>
5329+
wp user update <user>... [--user_pass=<password>] [--user_nicename=<nice_name>] [--user_url=<url>] [--user_email=<email>] [--display_name=<display_name>] [--nickname=<nickname>] [--first_name=<first_name>] [--last_name=<last_name>] [--description=<description>] [--rich_editing=<rich_editing>] [--user_registered=<yyyy-mm-dd-hh-ii-ss>] [--role=<role>] --<field>=<value>
53305330
~~~
53315331

53325332
**OPTIONS**
@@ -5337,9 +5337,6 @@ wp user update <user>... [--user_pass=<password>] [--user_login=<login>] [--user
53375337
[--user_pass=<password>]
53385338
A string that contains the plain text password for the user.
53395339

5340-
[--user_login=<login>]
5341-
A string that contains the user's username for logging in.
5342-
53435340
[--user_nicename=<nice_name>]
53445341
A string that contains a URL-friendly name for the user. The default is the user's username.
53455342

src/User_Command.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,6 @@ public function create( $args, $assoc_args ) {
445445
* [--user_pass=<password>]
446446
* : A string that contains the plain text password for the user.
447447
*
448-
* [--user_login=<login>]
449-
* : A string that contains the user's username for logging in.
450-
*
451448
* [--user_nicename=<nice_name>]
452449
* : A string that contains a URL-friendly name for the user. The default is the user's username.
453450
*

0 commit comments

Comments
 (0)