Peter Fabian
694cfa979b
Float the dismiss button instead of absolute-position it.
...
To prevent overlaps with conten/text of the message.
2018-04-23 15:42:42 +02:00
Rodrigo Primo
dcc309d16b
Add call to parent::setUp() and remove cleanup code
...
parent::setUp() should be called inside test setup methods to make sure database changes are automatically reverted after each test is executed. This way it is not necessary to manually remove inserted data.
2018-04-23 10:34:15 -03:00
Rodrigo Primo
4a8f34f2ee
Test setup methods should call parent setup method
...
This commits adds a call to `parent::setUp()` inside WC_Tests_Product_CSV_Importer::setUp(). This is necessary to make sure transactions are used on database calls and thus tests don't have to worry about cleaning inserted data.
I found this issue while debugging https://github.com/woocommerce/woocommerce-product-tables-feature-plugin/issues/81 . Turns out this test was failing because WC_Tests_Product_CSV_Importer::test_import() was leaving one post in the database due to a bug in the custom product tables plugin.
2018-04-23 10:34:03 -03:00
Rodrigo Primo
c7c82a2335
PHPCS fixes
2018-04-23 10:33:52 -03:00
Gerhard Potgieter
8c677d9214
Merge pull request #19821 from haydenw/haydenw-patch-1
...
Pass `$flat` variable to `woocommerce_order_items_meta_display` filter
2018-04-23 14:02:21 +02:00
Gerhard Potgieter
2a7dc3edee
Merge pull request #19820 from ericnicolaas/master
...
Fixes spelling mistake in privacy policy content snippet.
2018-04-23 13:55:45 +02:00
Gerhard Potgieter
ca9865beeb
Ensure shop_page_id is > 0 before loading the unsupported theme functionality. In some cases shop_page_id can be -1 which will result in a true as only 0 is seen as false.
2018-04-23 09:47:21 +02:00
Hayden Whiteman
1c8d5d42d1
Pass `$flat` variable to `woocommerce_order_items_meta_display` filter
...
Allow 3rd parties to determine if output should be flat.
2018-04-23 13:45:07 +12:00
Eric Daams
956dc6b9b9
Fixes spelling mistake in privacy policy content snippet.
2018-04-23 09:50:08 +09:30
Shiva Poudel
a4b5f0bef4
Fix - Notice while downloding GeoIP database on Windows
...
DIRECTORY_SEPARATOR was the culprit :)
CC @claudiosanches
Closes #19742
2018-04-21 02:43:37 +05:45
Claudiu Lodromanean
b060559017
Merge pull request #19810 from GlennMartin1/patch-3
...
correct two links in Help tab
2018-04-20 11:49:55 -07:00
GlennMartin1
da6000a633
Update class-wc-admin-help.php
2018-04-20 14:25:11 -04:00
GlennMartin1
ab929c5ae3
correct two links in Help tab
2018-04-20 14:20:39 -04:00
Rodrigo Primo
f5c2f89af6
Merge pull request #19809 from woocommerce/fix/19807
...
Removed undefined wp_json_decode() function from PayPal response
2018-04-20 14:11:32 -03:00
Claudio Sanches
781d38dc51
Removed undefined wp_json_decode() function from PayPal response
...
Closes #19807
2018-04-20 13:26:05 -03:00
Mike Jolley
2cc1504f7e
Merge branch 'master' into update/erasure-requests
...
# Conflicts:
# includes/class-wc-privacy.php
2018-04-20 16:49:17 +01:00
Mike Jolley
f71ffb5f5e
Added erasure code and moved into separate classes.
2018-04-20 16:47:58 +01:00
Claudio Sanches
c115832c4a
Merge pull request #19802 from woocommerce/update/19786
...
Throw an error when the order is not loaded on checkout
2018-04-20 11:55:45 -03:00
Claudio Sanches
3ca48187a1
Merge pull request #19803 from tivnet/patch-6
...
Update class-wc-privacy.php
2018-04-20 11:54:39 -03:00
Claudio Sanches
1b7abb54e6
Merge pull request #19805 from tivnet/patch-7
...
Docblock: wc_get_orders returns WC_Order[]
2018-04-20 11:53:50 -03:00
Gerhard Potgieter
0d84bcc3eb
Tweaks as per review
2018-04-20 15:20:43 +02:00
Gregory Karpinsky
3fe4de8a95
Docblock: wc_get_orders returns WC_Order[]
2018-04-20 08:01:53 -04:00
Gregory Karpinsky
8d2b32b622
Update class-wc-privacy.php
...
Spelling
2018-04-20 07:57:53 -04:00
Mike Jolley
342ce28c61
Throw an error when the order is not loaded on checkout
2018-04-20 11:54:36 +01:00
Mike Jolley
eeaebc92a0
Merge pull request #19788 from rnaby/class-wc-rest-customers-controller-update_customer_meta_fields-doc-spelling-fix
...
Spelling fix
2018-04-20 11:40:22 +01:00
Mike Jolley
7f4f70fbea
Merge pull request #19795 from rnaby/class-wc-api-reports-validate_request-removed-unnecessary-else
...
Removed unnecessary else condition.
2018-04-20 11:40:02 +01:00
Gerhard Potgieter
03e60f105e
Remove unused method
2018-04-20 12:38:25 +02:00
Mike Jolley
fe30b4900e
Merge pull request #19798 from tivnet/patch-6
...
Update wc-template-functions.php
2018-04-20 11:37:39 +01:00
Mike Jolley
90083782c0
Merge pull request #19799 from tivnet/patch-7
...
Update wc-template-functions.php
2018-04-20 11:37:14 +01:00
Gregory Karpinsky
88b9f3763e
Update wc-template-functions.php
...
`wc_privacy_policy_page_id()` has no parameters.
2018-04-19 21:35:02 -04:00
Gregory Karpinsky
02a4538c82
Update wc-template-functions.php
...
Spelling
2018-04-19 21:19:36 -04:00
Khan M Rashedun-Naby
b6cfc6f291
Removed unnecessary else condition.
2018-04-20 01:06:25 +06:00
Khan M Rashedun-Naby
1b7e14a4b6
Spelling fix
2018-04-19 21:10:36 +06:00
Mike Jolley
1d0528b73f
Merge pull request #19778 from woocommerce/fix/inline-docs-admin-attributes
...
Fixed admin attributes page inline docs
2018-04-19 10:48:36 +01:00
Mike Jolley
5fbd04ec63
Merge pull request #19779 from garrett-eclipse/patch-1
...
Spelling fix - disappearing
2018-04-19 10:48:15 +01:00
Mike Jolley
bdf5dbec6a
Merge pull request #19782 from rnaby/removed-unnecessary-else-condition
...
Removed unnecessary else condition check.
2018-04-19 10:47:53 +01:00
Mike Jolley
f0d53ae4b5
Merge pull request #19784 from michaeltieso/patch-2
...
Typo
2018-04-19 10:47:18 +01:00
Mike Jolley
ce91bb3809
Merge pull request #19781 from woocommerce/feature/pr-template
...
Introduced Pull Request template
2018-04-19 10:45:55 +01:00
Mike Jolley
33c75fb1c2
Wording tweaks and removed the type of change section
2018-04-19 10:45:03 +01:00
Michael Tieso
f7ef8a5611
Typo
...
Introducing the most epic PR. You're welcome :)
2018-04-19 11:44:20 +02:00
Khan M Rashedun-Naby
9aed8394cb
Removed unnecessary else condition check. I think in this situation after early returning the else is redundant.
2018-04-19 11:04:44 +06:00
Claudio Sanches
55eee758d7
Prerequisites description
2018-04-18 19:24:14 -03:00
Claudio Sanches
8c52a6ab48
Introduced Pull Request template
2018-04-18 19:20:20 -03:00
Garrett Hyder
4b95b6fdd6
Spelling fix - disappearing
2018-04-18 13:04:50 -07:00
Claudio Sanches
00bc21135c
Fixed admin attributes page inline docs
2018-04-18 15:32:46 -03:00
claudiulodro
4f84364631
Recompile everything
2018-04-18 10:04:02 -07:00
claudiulodro
75bb4095ef
Bump version for 3.4 beta 1
2018-04-18 10:02:53 -07:00
Claudiu Lodromanean
fb50c84866
Merge pull request #19775 from woocommerce/update/3.4-readme
...
Rolling 3.4 Readme
2018-04-18 10:00:04 -07:00
Claudiu Lodromanean
60a17d74e6
Add #19743 to changelog
2018-04-18 09:52:44 -07:00
Claudiu Lodromanean
26fb91dc61
Merge pull request #19743 from woocommerce/update/gdpr-order-cleanup
...
GDPR: Order cleanup
2018-04-18 09:51:01 -07:00