Commit Graph

27552 Commits

Author SHA1 Message Date
Paul Dechov a765d87979 OBW: Set only applicable fields as required when enabling shipping zone 2018-05-07 11:32:00 -04:00
Peter Fabian c2493310d9 Switch stock status when manage stock gets changed.
As the stock quantity might be saved in the database from previous settings, stock_status needs to be in sync if qty is > 0.
2018-05-07 16:01:59 +02:00
Paul Dechov b91c6f9207 Show checkbox outline when focused whether checked or not 2018-05-07 09:40:36 -04:00
Paul Dechov a611c1e329 Adjust recommended item to used stylized checkbox 2018-05-07 09:39:44 -04:00
Paul Dechov 1898234158 Extract checkbox styling from woocommerce-tracker scope 2018-05-07 09:36:28 -04:00
Paul Dechov 660a7eea0e Fix plugin installer extracting filename from path 2018-05-07 08:27:22 -04:00
Gerhard Potgieter 6ab75247f7 Check that the terms condtions page actually exists and not just for an saved ID. 2018-05-07 11:05:38 +02:00
Peter Fabian ceb713adbc Basic range download handling for Force download. 2018-05-07 10:05:02 +02:00
Tim Jensen e2cc3673b2 Add coupon usage count hooks
These action hooks allow developers to extend functionality related to updating coupon usage counts.
2018-05-06 07:09:59 -04:00
urosmil 5ec04d9398
Add endpoints to account menu items filter
This change will add possibility for adding new custom links to woo account, not only changing labels of existing ones.
2018-05-06 09:56:28 +02: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
Mike Jolley cf9fa5b3ff Updates table styling and columns 2018-05-04 18:48:41 +01:00
Mike Jolley a477f0d800
Merge pull request #19973 from pierrebuet/master
Diverse typos
2018-05-04 18:03:06 +01:00
pierrebuet 3850f4f13a Diverse typos 2018-05-04 16:57:01 +02:00
Rodrigo Primo 7d5f6d3746 Remove WC API unit tests cleanup code
WC unit tests don't need to remove data from the database before finishing. `WP_UnitTestCase` creates a transaction before each test starts and roll it back after it ends, so data is never actually written to the database. This simplifies the tests and makes them faster.
2018-05-04 11:45:30 -03:00
Rodrigo Primo 7ce69dfca2 PHPCS fixes 2018-05-04 11:42:45 -03: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 ccb39deca6 Revert "Add message to description about erasing personal data."
This reverts commit 245266f0d4.
2018-05-04 11:57:37 +02: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 245266f0d4 Add message to description about erasing personal data. 2018-05-04 09:20:06 +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
claudiulodro eeb97510eb Recompile and prepare for beta 2 2018-05-03 09:46:40 -07:00
claudiulodro c8c2e977e6 Update changelog 2018-05-03 09:45:28 -07: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 8035ce7f9f
Update readme.txt 2018-05-03 09:25:20 -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
Claudiu Lodromanean 87211d9f19
Merge pull request #19954 from woocommerce/update/19688
Disable zoom on touch devices
2018-05-03 08:22:43 -07:00
Claudiu Lodromanean 5dbe21012b
Update readme.txt 2018-05-03 08:22:26 -07:00
Claudiu Lodromanean 36fa5b27a3
Update readme.txt 2018-05-03 08:12:47 -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 c82453c1db
Update readme.txt 2018-05-03 08:04:20 -07: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 c637d7d8c6
Merge pull request #19955 from woocommerce/update/translator-strings
Make some strings easier to translate for translators
2018-05-03 15:35:16 +01:00
Mike Jolley b6b4961108 min 2018-05-03 15:29:57 +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
Peter Fabian 92180d2b42 Add scheme to widget id when caching objects.
This should prevent cache from serving mixed content when widget cache is preloaded with http version, then accessed via https.
2018-05-03 14:10:04 +02:00
Mike Jolley 982d9ec245 Disable zoom on touch devices 2018-05-03 12:28:25 +01:00
Paul Dechov 084510b11b Fix hiding plugin info message when no plugins will be installed 2018-05-03 06:03:25 -04:00
Boro Sitnikovski d3f3073f13 Merge branch 'master' into tweak/gdpr-customer-tokens 2018-05-03 12:02:12 +02:00