Skip to content

wp user create ignores the user_url argument #350

@kevin75001

Description

@kevin75001

Hi,

When using command line wp create user with --user_url argument, the value is ignored.

Step to reproduce :

/usr/bin/php /usr/local/bin/wp-cli --path='/path/to/wordpress/' user create 'testurl' 'sample@email.com' --role='editor' --user_pass='strong_password' --first_name='first' --last_name='last' --user_url='http://www.testsite.com' --debug

No error reported in debug.

Then :

/usr/local/bin/wp-cli --path='/path/to/wordpress/' user get testurl --fields=user_url

Return empty value instead of http://www.testsite.com

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions