-
Notifications
You must be signed in to change notification settings - Fork 93
Warn when an invalid role is provided for wp user update
#406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn when an invalid role is provided for wp user update
#406
Conversation
- Added $warn_user_only parameter in the validate_role() function.
danielbachhuber
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you include some feature tests for this change? Here is some guidance on our pull request best practices, if it's helpful.
Yes sure. |
|
@danielbachhuber Other than the tests is solution right? |
@SH4LIN Yes, I think it's fine. It looks like the existing tests are passing, too. |
|
@danielbachhuber I have added the functional test can you check it? |
|
@danielbachhuber Can you check if the Functional tests are okay? |
wp user update
@SH4LIN The functional tests look great! Thanks for improving them 😊 |
GitHub Issue: #160