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
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
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
Mike Jolley
0ad1f6a63f
Merge pull request #13709 from woocommerce/fix-13708
...
Timezone/DST fixes
2017-03-24 10:25:08 +00:00
Claudio Sanches
7381b008e0
[REST API] Fixed links for settings endpoint
...
Do not allow embed and updated the key to reflect the items from the endpoint response
2017-03-24 01:56:50 -03:00
Claudio Sanches
7a671ab8a5
[REST API] Fixed shipping zone locations schema
...
This also fix improper sanitization and validation of the items.
2017-03-23 21:44:46 -03:00
Claudio Sanches
c369cdc8bd
Fixed shipping zones schema unit tests
2017-03-23 20:56:41 -03:00
Claudio Sanches
b1023c23c6
Fixed setting options endpoint tests
2017-03-23 20:45:22 -03:00
Claudio Sanches
44319e20f7
[REST API] Fixed file name convention
2017-03-23 17:48:37 -03:00
Claudio Sanches
3f82db5cbd
Fixed unit tests for review GMT dates
2017-03-23 13:39:46 -03:00
Claudio Sanches
5d19bba83d
Fixed unit tests for variation image
2017-03-23 13:39:16 -03:00
Claudio Sanches
caae2d2a0f
Fixed Products_API::test_product_schema() total of properties
2017-03-23 13:38:25 -03:00
Mike Jolley
c0218188a0
Update unit tests
2017-03-23 00:11:21 +00:00
Mike Jolley
75c55c0442
Revert "Tests"
...
This reverts commit a070a7f6d6
.
2017-03-22 12:37:13 +00:00
Mike Jolley
a070a7f6d6
Tests
2017-03-22 12:36:30 +00:00
Claudio Sanches
f1dab3fdce
Fixed coding standards
2017-03-21 12:38:35 -03:00
Claudiu Lodromanean
c0a01a1fe4
Dont set empty strings as tax totals
2017-03-20 15:14:41 -07:00
Claudio Sanches
c8be89915c
Fixed double @
2017-03-15 13:46:02 -03:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
75a5b062cf
Merge pull request #13577 from woocommerce/fix-13498
...
Timezone/Date method handling
2017-03-15 16:09:41 +00:00
Mike Jolley
5b6636e5da
Unit test
2017-03-15 15:54:39 +00:00
Mike Jolley
d55653a408
Merge branch 'master' into fix-13498
...
# Conflicts:
# includes/class-wc-order.php
# tests/unit-tests/crud/data.php
2017-03-15 15:52:40 +00:00
Mike Jolley
943c507d3f
Merge pull request #13606 from woocommerce/fix-13525-api
...
Fix 13525 api
2017-03-15 15:43:45 +00:00
Mike Jolley
a34dd0480d
Merge pull request #13587 from woocommerce/fix-13525
...
Update coupon date handling
2017-03-15 15:26:41 +00:00
Claudiu Lodromanean
51b7110de2
Update API v2
2017-03-14 14:43:53 -07:00
Justin Shreve
fb124232cf
Update Payment Tokens to follow the same pattern for custom data as other object types.
...
Payment tokens was introduced in 2.6 and was updated to use the new CRUD code while some of the CRUD system was still in flux.
While most things were correct, the prop handling for custom fields (like a card's last 4 digits) were directly calling meta functions, instead of delegating to the data store/parent.
This PR moves these props to `extra_data` and follows the same pattern as product types or order items. It also updates some version tags to 3.0.0. Finally, it adds an additional test for saving meta after a create which looks like it was lacking.
To Test:
* Run `phpunit`.
* Go to the "My Account" tab and add a new payment method. You need a payment gateway that supports this, like Simplify.
* Test the add a payment method flow.
* Make a test purchase using the saved payment method.
2017-03-14 12:33:35 -07:00
Mike Jolley
a3cc5cc9bb
has_meta -> meta_exists
...
#13590
Avoid has_meta conflict with old method.
#13581
2017-03-14 16:49:13 +00:00