dc501dc3be
A non-existent variable was being passed to `limit_item_to_fields`, causing a PHP notice to be displayed. `PHP Notice: Undefined variable: fields in includes/cli/class-wc-cli-rest-command.php on line 183` This PR passes the correct value. To Test: 1. Use `wp wc product list --user=1 --fields="sku,name"` on the command-line. 2. Make sure that a PHP notice does not display in your debug log. |
||
---|---|---|
.. | ||
class-wc-cli-rest-command.php | ||
class-wc-cli-runner.php | ||
class-wc-cli-tool-command.php | ||
class-wc-cli-update-command.php |