Claudio Sanches
58fa8542b6
Merge pull request #14933 from woocommerce/fix/14815
...
Use numeric, not decimal
2017-05-08 15:36:39 -03:00
Mike Jolley
24fe8db5eb
Fix test
2017-05-08 19:14:33 +01:00
Claudio Sanches
257594a67c
Merge pull request #14945 from woocommerce/pr/14875
...
Pr/14875
2017-05-08 13:56:12 -03:00
Mike Jolley
dd3be1278b
Merge pull request #14733 from woocommerce/feature/13646
...
WC_Object_Query & WC_Order_Query
2017-05-07 14:24:12 +01:00
Paul Kilmurray
71e462469a
Problem in WC_Abstract_Order->get_items()
...
This only effects new items, which are given duplicate array keys, eg: `new:0`, `new:1` etc.
2017-05-04 19:12:19 +09:00
Paul Kilmurray
b5f182e14d
Problem in WC_Abstract_Order->get_items()
...
This test will fail.
If the order is created with different item types, eg: *line_item* and *fee*, they will both be given the key `new:0`. Items with duplicate keys are not combined in the `get_items` function ([line 703](https://github.com/woocommerce/woocommerce/blob/master/includes/abstracts/abstract-wc-order.php#L703 )).
2017-05-04 18:47:43 +09:00
Claudio Sanches
7b5d56c643
[REST API] Adds missing "id" in shipping zone methods endpoint
...
This missing "id" will break CLI.
Added as duplicated with `instance_id` to keep backwards compatibility.
Fixes #14831
2017-05-02 20:37:03 -03:00
Mike Jolley
4b0fff3437
Fix zone routes in CLI
...
Fixes #14750
2017-04-28 15:49:51 +01:00
claudiulodro
11c7722eff
Update tests
2017-04-27 14:46:00 -07:00
claudiulodro
027e7b1f94
Add restored webhook
2017-04-27 11:44:57 -07:00
Mike Jolley
a68934d7db
Merge pull request #14731 from crodas/make_sure_meta_data_cache_is_not_shared
...
Make sure the meta data cache is not shared among instances
2017-04-27 16:50:10 +01:00
claudiulodro
6aecb15505
Reduce scope
2017-04-27 08:38:18 -07:00
Mike Jolley
fc0f5f3765
fix test
2017-04-27 15:23:04 +01:00
Cesar Rodas
91de312eb2
Make sure the meta data cache is not shared among instances
...
See #14620 for more context. In there I thought this was the desired behaviour and I enhanced it. After talking with @mikejolley he explained to me that it was not by designed.
This commit makes sure the meta data cache is not shared among instances
2017-04-26 13:51:52 -04:00
claudiulodro
9f0f0cd246
Polish and cleanup
2017-04-26 10:49:19 -07:00
claudiulodro
efa1dbbda5
Basic working order queries
2017-04-25 14:52:17 -07:00
Mike Jolley
a27e03378f
update test
2017-04-25 14:46:17 +01:00
claudiulodro
553a12203b
WC_Order_Query
2017-04-24 16:28:13 -07:00
claudiulodro
29fa59a0b7
WC_Object_Query
2017-04-24 11:33:17 -07:00
Mike Jolley
a325d03deb
wc_get_orders support for guest orders and unit tests
...
Fixes #14575
2017-04-20 18:05:58 +01:00
Claudio Sanches
e208e35e33
Fixed coding standards in tests
2017-04-20 01:34:58 -03:00
Mike Jolley
65b6ee58f7
Fix map URL unit test.
2017-04-17 12:10:38 +01:00
Claudio Sanches
627d7a8790
Merge pull request #14278 from woocommerce/fix/14209-alt
...
Variation Attribute Name Fixes (simplified)
2017-04-11 17:25:28 -03:00
Mike Jolley
5cfed7569c
Simplify wc_is_attribute_in_product_name and change separator
2017-04-11 21:12:30 +01:00
Claudiu Lodromanean
715656921d
wc_is_attribute_in_product_name
2017-04-10 14:35:16 -07:00
Mike Jolley
e478527c03
Fix test
2017-04-10 21:57:10 +01:00
Claudiu Lodromanean
903b176b99
Attribute title tweaks
2017-04-10 13:16:58 -07:00
Claudio Sanches
42ca7bda3d
Merge pull request #13989 from woocommerce/fix/product-meta-save_post
...
Fix saving meta when using `save_post`.
2017-04-06 14:38:16 -03:00
James Collins
285daf466b
Correctly calculate order total when adding the product
2017-04-06 18:02:06 +08:00
James Collins
09cbf5f816
Avoid deprecated warning when creating an order in unit tests
...
Unexpected deprecated notice for Action: woocommerce_order_add_product
2017-04-06 17:11:59 +08:00
Justin Shreve
08537218b1
mend
2017-04-05 14:46:17 -07:00
Justin Shreve
15bf1da7d5
Call save_meta_data before wp_update_post for data stores that use it, and refresh meta cache after.
2017-04-05 14:39:41 -07:00
Claudiu Lodromanean
160d394070
Clean up test
2017-04-05 11:13:31 -07:00
Claudiu Lodromanean
5389844a1b
Use parent data for sold_individually
2017-04-05 11:02:26 -07:00
Mike Jolley
d79b1edc55
Merge pull request #13397 from woocommerce/e2e-testing
...
E2E frontend testing
2017-03-30 16:41:24 +01:00
Claudio Sanches
1c369e41e0
Merge pull request #13810 from woocommerce/fix-typo
...
Fix typo
2017-03-28 15:22:45 -03:00
Claudiu Lodromanean
448d47a78c
Sprinkle some periods
2017-03-28 11:15:00 -07:00
Claudiu Lodromanean
28726570bf
Use new_* hooks instead of created_*
2017-03-28 11:05:45 -07:00
Akeda Bagus
757b5ae2c4
Fixed all typo in tests/ directory.
2017-03-29 01:02:31 +07:00
Mike Jolley
9aabe1ff44
Revert "sync before test"
...
This reverts commit 45ab4733d5
.
2017-03-28 14:32:56 +01:00
Mike Jolley
29d6f69a87
Revert "Clear parent transients on variation save"
...
This reverts commit 0694312cc9
.
2017-03-28 14:32:52 +01:00
Mike Jolley
0694312cc9
Clear parent transients on variation save
2017-03-28 13:51:22 +01:00
Mike Jolley
45ab4733d5
sync before test
2017-03-28 12:51:32 +01:00
Claudiu Lodromanean
89128da8ba
Fix child_has_dimensions
2017-03-27 11:52:03 -07:00
Mike Jolley
01408ddda6
Fixed api tests
2017-03-24 15:11:21 +00:00
Mike Jolley
819448daf5
Fix unit test
2017-03-24 11:35:54 +00:00
Mike Jolley
9af295d618
Merge pull request #13753 from woocommerce/fix/rest-api-shipping-zones-schema
...
[REST API] Fixed shipping zones schema
2017-03-24 10:38:51 +00:00
Mike Jolley
af8e892f97
Merge pull request #13759 from woocommerce/fix/rest-api-settings-links
...
[REST API] Fixed links of settings endpoint
2017-03-24 10:33:16 +00:00
Mike Jolley
803786ceeb
Merge pull request #13755 from woocommerce/fix/shipping-zone-locations-schema
...
[REST API] Fixed shipping zone locations schema
2017-03-24 10:27:52 +00:00
Mike Jolley
5cb3b9e0ea
Merge pull request #13751 from woocommerce/fix/rest-api-setting-options-rest-base
...
[REST API] Fix setting options rest base
2017-03-24 10:26:22 +00:00