Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions features/user.feature
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,12 @@ Feature: Manage WordPress users
administrator
"""

When I run `wp user update 1 --user_pass=new_password`
Then STDOUT should contain:
"""
Success: Updated user 1.
"""

Scenario: Managing user capabilities
Given a WP install

Expand Down
3 changes: 0 additions & 3 deletions src/User_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,6 @@ public function create( $args, $assoc_args ) {
* [--role=<role>]
* : A string used to set the user's role.
*
* --<field>=<value>
* : One or more fields to update. For accepted fields, see wp_update_user().
*
* [--skip-email]
* : Don't send an email notification to the user.
*
Expand Down