Mike Jolley
7be62795db
Add wp-util script and strings for localisation
2018-04-24 19:26:00 +01:00
Mike Jolley
6e90ff3ac3
JS handling for move up/down buttons
2018-04-24 19:25:45 +01:00
Mike Jolley
aeb9d3fe65
wc_selected handles escaping
2018-04-24 19:25:20 +01:00
Claudio Sanches
5e28b6b88e
Merge pull request #19841 from woocommerce/update/remove-geolite
...
Removes freegeoip service
2018-04-24 12:08:14 -03:00
Mike Jolley
6d9bacb982
Removes freegeoip service
2018-04-24 14:32:21 +01:00
Mike Jolley
da9c99a12f
Merge pull request #19837 from woocommerce/update/obw-tracker-request
...
Delay tracking request
2018-04-24 13:23:31 +01:00
Gerhard Potgieter
07dcf77f6f
Deffer first tracker send to a cron instead of direct calling it.
2018-04-24 14:16:41 +02:00
Mike Jolley
04ae123c5b
Merge pull request #19826 from woocommerce/fix/19793
...
Float the dismiss button instead of absolute-position it.
2018-04-24 12:51:08 +01:00
Mike Jolley
cb9dab21d6
Merge pull request #19822 from woocommerce/fix/19790-positive-page-id
...
Do not load unsupported theme functionality when shop page -1
2018-04-24 12:29:22 +01:00
Gerhard Potgieter
fc43bd2410
Delay tracking request by 10 seconds to allow for page load to complete first.
2018-04-24 12:42:06 +02:00
Gerhard Potgieter
56c539681b
Yoda, you must!
2018-04-24 07:18:09 +02:00
Mike Jolley
0f71eb15bf
Merge pull request #19712 from woocommerce/update/wc-tracker
...
Tracker Changes
2018-04-23 19:28:14 +01:00
Mike Jolley
03281b8651
Merge pull request #19824 from woocommerce/fix/tests-setup
...
Test setup methods should call parent setup method
2018-04-23 19:12:03 +01:00
Mike Jolley
6718063330
Merge pull request #19829 from woocommerce/improve/geolite-database-paths
...
Use trailingslashit() instead of DIRECTORY_SEPARATOR
2018-04-23 19:08:24 +01:00
Claudio Sanches
9ac00e1986
Use trailingslashit() instead of DIRECTORY_SEPARATOR
...
This will avoid any double `/` and should work on Windows too.
2018-04-23 14:19:42 -03:00
Claudio Sanches
9d99ca4c47
Merge pull request #19812 from shivapoudel/fix/19742
...
Fix - Notice while downloding GeoIP DB on Windows
2018-04-23 14:17:37 -03:00
Shiva Poudel
0c5d6dd285
Tweak - Use of trailingslashit instead
2018-04-23 22:07:14 +05:45
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
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