Skip to content

Conversation

@stevehenty
Copy link
Contributor

This PR fixes an issue with the wp gf field update command where arbitrary properties/value pairs are not accepted by the command.

Fixes HS236084

Testing instructions
To reproduce the issue on master use the wp gf field update command to update a field property. E.g.
wp gf field update 18 1 --label="test2"
The following error will be displayed and the command will not be run:

Warning: The `wp gf field update` command has an invalid synopsis part: [--<property>=<value>]
Error: Parameter errors:
 unknown --label parameter

On this branch the update will be successful:
Success: Field ID: 1 updated

@stevehenty stevehenty added the bug label Nov 13, 2018
@stevehenty stevehenty merged commit 697fd03 into master Nov 13, 2018
@stevehenty stevehenty deleted the fix-field-property-updates branch November 13, 2018 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants