Commit Graph

20205 Commits

Author SHA1 Message Date
Claudio Sanches 7adb472a1c Fixed extra argument on array_map while setting categories and tags ids 2017-03-03 16:26:57 -03:00
Claudio Sanches 8d28e966c4 Let product CRUD handle terms IDs 2017-03-03 16:21:27 -03:00
Claudio Sanches a4b7cc5f0d Accept only list of terms IDs for product categories and tags 2017-03-03 16:19:32 -03:00
Claudio Sanches ee276e10a4 Merge pull request #13460 from woocommerce/fix-13458
Set line item prices on legacy API order create
2017-03-03 15:45:53 -03:00
Justin Shreve 9a8b438b49 Merge pull request #13459 from woocommerce/fix/cli-notice
Fix CLI notice when using --fields.
2017-03-03 09:39:08 -08:00
Claudiu Lodromanean 51c5910866 Set line item prices on legacy API order create 2017-03-03 09:26:08 -08:00
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
Mike Jolley 2b5bdaa15d Remove unused variable 2017-03-03 13:31:27 +00:00
Mike Jolley 09de226bd2 Fix error checking on endpoints to prevent fatal errors
Fixes #13453
2017-03-03 13:18:07 +00:00
Mike Jolley 92cdd4f2af Merge pull request #13455 from faisal-alvi/fix#13454
fix#13454
2017-03-03 10:52:38 +00:00
Mike Jolley 9c988b3412 Merge branch 'master' into fix#13454 2017-03-03 10:52:14 +00:00
Mike Jolley 8440083fef Merge pull request #13443 from woocommerce/cache-groups
Standardize cache group names
2017-03-03 10:44:34 +00:00
Mike Jolley 0a53e0e47f Merge pull request #13444 from woocommerce/fix-13420
Set date paid for old orders
2017-03-03 10:41:33 +00:00
faisal-alvi 8b579bb820 fix#13454 2017-03-03 15:18:59 +05:30
Claudio Sanches f7d8ddffab Merge pull request #13452 from woocommerce/fix-13405
Legacy API tweaks
2017-03-02 22:42:46 -03:00
Claudiu Lodromanean bd4458fa90 Change create to save 2017-03-02 14:28:35 -08:00
Claudio Sanches 29318f85a6 Merge pull request #13451 from thenbrent/fix_undefined_var
Fixes for $order_url variable
2017-03-02 19:17:01 -03:00
Claudio Sanches 7b77a9fd2e Merge pull request #13449 from woocommerce/fix-13427
get_meta should return empty array sometimes
2017-03-02 19:15:00 -03:00
Mike Jolley 8f610398ac Merge pull request #13445 from woocommerce/fix-13255
[REST API] date_paid should be in date time format
2017-03-02 21:46:35 +00:00
Brent Shepherd 759de5cc00 Fix undefined $order_url variable
In the case of an order with no items.

Fix redundantly setting the $order_url multiple times in the case
of orders with more than one line item.
2017-03-02 13:09:38 -08:00
Claudio Sanches 3aa86075d1 Prevent errors when do not have a paid date 2017-03-02 16:29:04 -03:00
Claudiu Lodromanean d5fd1e46ee get_meta should return empty array sometimes 2017-03-02 11:16:49 -08:00
Claudio Sanches 9fb2ba7783 [REST API] date_paid should be in date time format, closes #13255 2017-03-02 15:25:32 -03:00
Mike Jolley 35eea95550 Set date paid for old order 2017-03-02 17:47:28 +00:00
Mike Jolley c76c2d1a8d Merge pull request #13442 from woocommerce/fix-13419
Update date created/modified if changed.
2017-03-02 17:39:45 +00:00
Mike Jolley 1a8737fdeb Standardize cache group names 2017-03-02 17:15:39 +00:00
Mike Jolley 200f4c7741 Merge pull request #13414 from woocommerce/fix-13400
Dont save empty text attributes
2017-03-02 16:52:34 +00:00
Mike Jolley 0b0066b2a0 Merge pull request #13424 from woocommerce/fix/reintroduce-virtual-coupons
Reintroduce virtual coupons by "un"deprecating the filter.
2017-03-02 16:52:24 +00:00
Claudio Sanches 6dad909570 Merge pull request #13425 from woocommerce/fix-13411
Dont render empty stock descriptions
2017-03-02 13:49:12 -03:00
Mike Jolley fd07d06825 Update date created/modified if changed.
Fixes #13419
2017-03-02 16:46:59 +00:00
Claudiu Lodromanean 3f1d538878 Single quotes instead of double 2017-03-02 08:45:01 -08:00
Claudiu Lodromanean 36a8d08a5f Tweak no-availability check 2017-03-02 08:30:01 -08:00
Claudiu Lodromanean 527fb42771 Refactor empty option check 2017-03-02 08:21:20 -08:00
Claudio Sanches c81dd47eb8 Ignore apigen directory in git archive 2017-03-02 13:15:43 -03:00
Claudio Sanches 8ff943eb9d Include .gitattributes file 2017-03-02 13:13:59 -03:00
Mike Jolley 65908616b9 Merge pull request #13437 from woocommerce/checkout-wrappers
Add wrappers around sortable checkout fields
2017-03-02 16:11:24 +00:00
Mike Jolley 5637f043e5 Fix term name in update function
Closes #13398
2017-03-02 15:59:22 +00:00
Claudio Sanches bc6e68b29c Merge pull request #13440 from woocommerce/woocommerce_upsell_display_args
WC upsell display args
2017-03-02 12:45:08 -03:00
Mike Jolley 2e56114d8e Fix styling of variation upsells 2017-03-02 15:33:08 +00:00
Mike Jolley 0dfab8326b Backwards compatibility for woocommerce_upsell_display_args 2017-03-02 15:29:15 +00:00
Mike Jolley 793b2dfa69 woocommerce_upsells_total filter.
Closes #13436
2017-03-02 15:15:41 +00:00
Mike Jolley 31b10d861e Add wrappers around sortable checkout fields
Fixes #13432
Fixes #13434
2017-03-02 15:08:02 +00:00
Mike Jolley f7fe5812d0 Revert "Wrap order notes field"
This reverts commit 8500beb56d.
2017-03-02 14:42:08 +00:00
Mike Jolley aa5d825279 Merge pull request #13435 from JeroenSormani/fix/13432
Fix #13432 - Order notes field not showing by default (hidden under '…
2017-03-02 14:42:00 +00:00
Mike Jolley 8500beb56d Wrap order notes field
Fixes #13432
2017-03-02 14:23:17 +00:00
JeroenSormani 8abd814212 Fix #13432 - Order notes field not showing by default (hidden under 'ship to different address') 2017-03-02 15:23:03 +01:00
Mike Jolley c29f6bba50 Merge pull request #13408 from woocommerce/fix-13396
Better invalid data store handling
2017-03-02 12:46:51 +00:00
Claudiu Lodromanean 635f8c38a7 Dont render empty stock descriptions 2017-03-01 15:19:31 -08:00
Boro Sitnikovski 519e81ef59 Merge branch 'master' into fix/reintroduce-virtual-coupons 2017-03-02 00:09:03 +01:00
Claudiu Lodromanean f7752fb9b7 Merge pull request #13413 from JeroenSormani/fix-set-bill-location
Set the $state default to '' to prevent warning
2017-03-01 14:18:02 -08:00