woocommerce/includes/cli
Justin Shreve dc501dc3be Fix CLI notice when using --fields.
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.
2017-03-03 08:55:22 -08:00
..
class-wc-cli-rest-command.php Fix CLI notice when using --fields. 2017-03-03 08:55:22 -08:00
class-wc-cli-runner.php Only target v2 of the WC REST API when generating CLI commands. 2017-03-01 13:05:04 -08:00
class-wc-cli-tool-command.php Fix notice that displays when activating WC via the command-line. 2017-01-13 10:47:10 -08:00
class-wc-cli-update-command.php Update CLI callback 2016-12-13 13:38:20 +00:00