Claudiu Lodromanean
ccededa35c
Merge pull request #19971 from woocommerce/fix/19964
...
Fix: WC API should not try to create a product image if an empty image is passed
2018-05-07 10:48:10 -07:00
Claudiu Lodromanean
2bc90d7315
Merge pull request #19966 from woocommerce/add/tracker-opt-out
...
Tracker opt-out api call to erase personal data
2018-05-07 10:37:31 -07:00
Mike Jolley
8d6bbabc58
Merge pull request #19929 from woocommerce/fix/19924-parent-id-0-categories
...
Parent:0 terms via API PUT/POST
2018-05-04 18:56:15 +01:00
pierrebuet
3850f4f13a
Diverse typos
2018-05-04 16:57:01 +02:00
Rodrigo Primo
c7a9550691
Fix: WC API should not try to create a product image if empty image is passed
...
Currently if you try to create a product variation passing an empty array as the value of the image key using WC API:
Endpoint: `wp-json/wc/v2/products/PRODUCT_ID/variations`
Payload: `{ "attributes" : [ { "id" : 1, "name" : "color", "option" : "Green" } ], "dscription" : "Green Tea Variety", "image" : {} }`
WC will return the following error:
```
{ "code": "woocommerce_product_invalid_image_id", "data": { "status": 400 }, "message": "#0 is an invalid image ID." }
```
This is happening because the code that handles image creation
(4e42b2cd30/includes/api/class-wc-rest-product-variations-controller.php (L292)
) is not checking if `$request['image']` is empty before adding a new `position` key to it. To fix this problem, this commit simply adds a check to see if `$request['image']` is empty before proceeding.
Fixes #19964
2018-05-04 10:47:39 -03:00
Gerhard Potgieter
96d84b2813
Revert "Update the actual message and not just the test :)"
...
This reverts commit 9607fbcdd8
.
2018-05-04 11:57:26 +02:00
Gerhard Potgieter
9607fbcdd8
Update the actual message and not just the test :)
2018-05-04 09:24:05 +02:00
Gerhard Potgieter
e6e03858a0
Add call to tracking API when opting out to comply with GDPR erasure.
2018-05-04 09:10:18 +02:00
Gerhard Potgieter
c2dbc0c887
Keep taxonomy_hierarchical test in place
2018-05-04 08:50:14 +02:00
Claudiu Lodromanean
eaa6915c6b
Merge pull request #19958 from woocommerce/fix/default-asterisk
...
Required fields should be marked with *
2018-05-03 09:28:26 -07:00
Claudiu Lodromanean
594641c32f
Merge pull request #19952 from woocommerce/add/obw-plugin-install-info-message
...
OBW: List all plugins to be installed upon continuing to next step
2018-05-03 09:23:45 -07:00
Mike Jolley
9e9949a742
This should be on by default
2018-05-03 16:50:26 +01:00
Claudiu Lodromanean
4357feef98
Merge pull request #19957 from woocommerce/fix/blank-state-cta
...
Fixes blank state call to action styling
2018-05-03 08:26:59 -07:00
Mike Jolley
a3a2d234bb
Merge pull request #19946 from woocommerce/fix/19940
...
Actions should be filters
2018-05-03 16:11:47 +01:00
Mike Jolley
228b888ab6
Merge pull request #19947 from woocommerce/fix/19944
...
Page conditionals need to ensure the page exists/is set first
2018-05-03 16:11:23 +01:00
Mike Jolley
9069357a84
Fixes blank state call to action styling
2018-05-03 16:09:35 +01:00
Claudiu Lodromanean
305167efba
Merge pull request #19933 from franticpsyx/deprecate-woocommerce_ajax_added_order_items
...
[3.4] Deprecate woocommerce_ajax_added_order_items action
2018-05-03 08:03:55 -07:00
Claudiu Lodromanean
9dfd62dd67
Merge pull request #19938 from woocommerce/fix/update-obw-payfast-repo-slug
...
Updating repo slug for PayFast in the onboarding wizard
2018-05-03 08:01:17 -07:00
Claudiu Lodromanean
fdb8cdb482
Merge pull request #19945 from woocommerce/update/gdpr-messages
...
Updates to GDPR wording
2018-05-03 08:00:05 -07:00
Mike Jolley
d4e8ae093d
Merge pull request #19942 from woocommerce/tweak/gdpr-customer-tokens
...
Introduce GDPR export/erase for customer tokens
2018-05-03 15:36:56 +01:00
Mike Jolley
2f8f30cd29
Make some strings easier to translate for translators
2018-05-03 14:50:39 +01:00
Paul Dechov
44cf10e8cc
Fix phpcs issues
2018-05-03 09:35:09 -04:00
Mike Jolley
3a67c497d0
Update policy text
2018-05-03 13:19:50 +01:00
Boro Sitnikovski
d3f3073f13
Merge branch 'master' into tweak/gdpr-customer-tokens
2018-05-03 12:02:12 +02:00
Boro Sitnikovski
868034886a
Use display name for tokens
2018-05-03 12:00:07 +02:00
Mike Jolley
f05f439c58
Page conditionals need to ensure the page exists/is set first
2018-05-03 10:23:36 +01:00
Mike Jolley
3c905387dc
Actions should be filters
2018-05-03 10:06:47 +01:00
Boro Sitnikovski
8782be0b02
Use payment tokens instead of tokens
2018-05-03 11:06:11 +02:00
Mike Jolley
fde3eddccd
Just updates wording
2018-05-03 10:05:13 +01:00
Boro Sitnikovski
194dba40e2
Make sure devs pass their own unique ID and use localisation for constructor
2018-05-03 10:47:30 +02:00
Paul Dechov
099e4b9703
Refactor: move code around for more logical grouping
2018-05-03 04:45:01 -04:00
Boro Sitnikovski
1cfa6c6e4e
Per discussion with Mike, use id when adding exporters/erasers
2018-05-03 10:36:11 +02:00
Boro Sitnikovski
0d981a000a
Update abstract class to use associative arrays
2018-05-03 10:08:29 +02:00
Boro Sitnikovski
d8d2f03a50
Introduce GDPR export/erase for customer tokens
2018-05-03 09:46:07 +02:00
Gerhard Potgieter
a43ac9acae
No need to do checks of parent, WordPress does all the checks when running wp_insert_term and wp_update_term
2018-05-03 08:19:16 +02:00
Paul Dechov
64a47cd7cd
Show WCS and Jetpack only if they are not aleady active
2018-05-02 23:49:58 -04:00
Paul Dechov
9cd72562a8
Update plugin list on shipping zone toggle
2018-05-02 23:35:42 -04:00
Paul Dechov
2cfbe0a1f0
Remove 'will be installed and activated' messaging in other places
2018-05-02 22:36:47 -04:00
Paul Dechov
bdf6188ed6
Change payment gateway names to plugin name
2018-05-02 17:28:09 -04:00
Paul Dechov
fb0943bb89
Show plugins to install in 'Recommended' step
2018-05-02 17:24:11 -04:00
Paul Dechov
801667324a
Show plugins to install in shipping step
2018-05-02 17:23:36 -04:00
Paul Dechov
57ad34451b
Add payment step service settings plugins to list
2018-05-02 17:00:29 -04:00
Paul Dechov
9b524d7d77
List payment step service plugins to install
2018-05-02 16:58:56 -04:00
Lauren Smith
80835e3aca
Updating repo slug for PayFast in the onboarding wizard
2018-05-02 15:38:16 -05:00
Mike Jolley
d584ed72b9
Merge pull request #19930 from woocommerce/update/19925-api-order-refund-schema
...
Update refunds items schema to match actual response keys.
2018-05-02 18:06:30 +01:00
Claudio Sanches
a55ae32530
Merge pull request #19935 from woocommerce/update/19815
...
Hook doc update
2018-05-02 13:29:23 -03:00
Eitan Shaked
032ed8a3d4
Add new class to order note
2018-05-02 17:14:24 +03:00
Mike Jolley
06ef8c8589
Hook doc update
2018-05-02 14:28:53 +01:00
Mike Jolley
e807c6151f
Merge branch 'master' into update/erasure-requests
2018-05-02 14:06:47 +01:00
Manos Psychogyiopoulos
1895bbe3f3
Deprecate woocommerce_ajax_added_order_items action
2018-05-02 14:49:24 +03:00