Claudiu Lodromanean
bc59be04fa
Merge pull request #20009 from woocommerce/update/wc-orders-query-tests
...
Add test to check WC_Order_Query when using the 'customer' parameter
2018-05-08 13:57:54 -07:00
Claudiu Lodromanean
fc1474f304
Merge pull request #20007 from woocommerce/update/add-more-stock-functions-tests
...
Add more unit tests to improve includes/wc-stock-functions.php test coverage
2018-05-08 13:56:20 -07:00
Rodrigo Primo
42e801db0c
Add test to check WC_Order_Query when using the 'customer' parameter
2018-05-08 17:24:16 -03:00
Rodrigo Primo
3e8cd3f837
Remove unnecessary tests cleanup code
...
Tests don't need to manually remove data that they create. WP test framework does that automatically after each test is executed.
2018-05-08 16:00:00 -03:00
Rodrigo Primo
47f6104580
Add more unit tests to improve test coverage of functions in includes/wc-stock-functions.php
2018-05-08 15:58:03 -03:00
Rodrigo Primo
41f5985087
Fix PHPCS violations automatically using phpcbf
2018-05-08 15:48:55 -03:00
Claudiu Lodromanean
911c2d45c4
Merge pull request #20006 from woocommerce/fix/19970
...
Render password meter in place
2018-05-08 11:47:28 -07:00
Claudiu Lodromanean
abfba228b5
Merge pull request #20005 from woocommerce/fix/19997
...
Update quick edit logic to handle external products
2018-05-08 11:24:18 -07:00
Claudiu Lodromanean
7528762ee2
Merge pull request #20002 from woocommerce/fix/19959
...
Zoom improvements for mobile/touch
2018-05-08 11:16:44 -07:00
Claudiu Lodromanean
fb3eacc10f
Merge pull request #20001 from woocommerce/fix/19996
...
Check validity before handling submit event in cart
2018-05-08 10:41:16 -07:00
Mike Jolley
ad2df42353
Merge pull request #20004 from woocommerce/update/remove-tests-cleanup
...
Remove unnecessary cleanup code from orders unit tests
2018-05-08 18:15:55 +01:00
Mike Jolley
1788273e48
Minify
2018-05-08 18:11:01 +01:00
Mike Jolley
4e4d6204bc
Hide password meter rather than remove it.
2018-05-08 18:10:26 +01:00
Mike Jolley
8531b2677e
Update quick edit logic to handle external products
2018-05-08 16:58:51 +01:00
Claudiu Lodromanean
8a60d0aee9
Merge pull request #19998 from woocommerce/fix/19979
...
Settings API should force autoload on by default.
2018-05-08 08:57:02 -07:00
Rodrigo Primo
b43f828a7b
Fix PHPCS violations automatically using phpcbf
2018-05-08 11:55:32 -03:00
Rodrigo Primo
5d9dadca87
Remove unnecessary cleanup code from orders unit tests
...
It is not necessary to manually remove data added to the database after each test. WP unit tests framework does this automatically.
2018-05-08 11:52:58 -03:00
Mike Jolley
ffbbf08b61
Zoom improvements for mobile
2018-05-08 14:48:25 +01:00
Mike Jolley
3d8bb09ee8
Check validity before handling submit event in cart
2018-05-08 12:40:13 +01:00
Mike Jolley
ef15a4c9c3
Merge pull request #19995 from Drivingralle/patch-6
...
Allow related products limit to be like other post_per_page values
2018-05-08 11:54:37 +01:00
Mike Jolley
3b5dfcb80b
Settings API should force autoload on by default.
2018-05-08 11:12:40 +01:00
Ralf Wiechers
47fbf7eef9
Allow related products limit to be like other post_per_page values
...
Fix #19994
2018-05-08 11:39:54 +02:00
Claudiu Lodromanean
9e1b8245be
Merge pull request #19987 from woocommerce/fix/plugin-install-get-proper-plugin-filename
...
Plugin installer: fix extracting filename from path
2018-05-07 14:37:40 -07:00
Rodrigo Primo
3644f8c220
Merge pull request #19992 from woocommerce/fix/phpcs-class-wc-report-customers
...
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:57:57 -03:00
Rodrigo Primo
c1dabf0196
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:08:56 -03:00
Claudiu Lodromanean
ad85be2b4f
Merge pull request #19989 from woocommerce/fix/obw-settings-hidden-fields-as-required
...
OBW: Set only applicable fields as required when enabling shipping zone
2018-05-07 12:01:39 -07:00
Paul Dechov
d7dc2d45a4
Use simpler function for retrieving last array item
...
Also avoids array dereferencing syntax incompatible with PHP <5.4.
2018-05-07 14:50:26 -04:00
Claudiu Lodromanean
9c8dbbedc2
Merge pull request #19988 from woocommerce/update/obw-recommended-stylized-checkboxes
...
OBW: stylized checkboxes in "Recommended" step
2018-05-07 11:45:08 -07:00
Claudiu Lodromanean
ba81e9e6f2
Merge pull request #19986 from woocommerce/fix/19975-check-tandc-exist
...
Check Terms Conditions page exits
2018-05-07 11:29:59 -07:00
Claudiu Lodromanean
bda8732c6f
Merge pull request #19974 from woocommerce/update/payment-method-columns
...
Updates table styling and columns
2018-05-07 11:23:49 -07:00
Claudiu Lodromanean
4a3edf4666
Merge pull request #19972 from woocommerce/improve-api-tests
...
Remove WC API unit tests cleanup code
2018-05-07 11:01:50 -07:00
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
Paul Dechov
a765d87979
OBW: Set only applicable fields as required when enabling shipping zone
2018-05-07 11:32:00 -04: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
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