Skip to content

Add missing logic for setting additional user fields#301

Closed
johnbillion wants to merge 8021 commits intowp-cli:masterfrom
johnbillion:feature/nicename
Closed

Add missing logic for setting additional user fields#301
johnbillion wants to merge 8021 commits intowp-cli:masterfrom
johnbillion:feature/nicename

Conversation

@johnbillion
Copy link
Contributor

@johnbillion johnbillion commented Aug 10, 2020

The --user_nicename flag is failing to work as expected on my local environment, so I've added a test for it as part of the debugging process.

Edit by @schlessera : Using the provided test as a base, this PR adds the missing logic to make the nickname, user_nicename and user_url additional fields work.

Depends on wp-cli/wp-cli#5600

Fixes #274

Mte90 and others added 30 commits February 13, 2019 16:39
Co-Authored-By: Mte90 <mte90net@gmail.com>
apply second review

Co-Authored-By: Mte90 <mte90net@gmail.com>
Migrate term from a taxonomy to another one
Reset option value to default for privacy policy on site empty
Regenerate README based on latest changes
…to-post-type-and-taxonomy

Add count to post-type and taxonomy commands
Fix logic error in presence of 'site meta' check
Harmonize representation of serialized and JSON-encoded meta values
Move PHP 5.4 tests from `WP_VERSION` `latest` to `5.1`
Enhancement: Add PHP 7.3 to Travis CI build matrix
@schlessera schlessera changed the title Add a test for the --user_nicename field when creating a user Add missing logic for setting additional user fields Jan 13, 2022
@schlessera schlessera force-pushed the feature/nicename branch 2 times, most recently from 7febe18 to fcb2f60 Compare January 13, 2022 07:16
@schlessera schlessera added the command:user-create Related to 'user create' command label Jan 13, 2022
@schlessera schlessera added this to the 2.2.1 milestone Jan 13, 2022
@schlessera schlessera removed this from the 2.2.1 milestone Jan 25, 2022
@danielbachhuber
Copy link
Member

Proceeding with wp-cli/wp-cli#5594 for this repository. I've captured this PR to https://gist.github.com/danielbachhuber/03223db692282c088f16c5f33eab3df3 in case this PR is auto-closed or broken in some way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:user-create Related to 'user create' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wp user create ignores --nickname