Commit Graph

27046 Commits

Author SHA1 Message Date
Mike Jolley ffc5fc6b74
Merge pull request #19865 from rnaby/260418-090005-wc-checkout
Method refactored
2018-04-26 12:37:08 +01:00
Mike Jolley 79c6c6c61b
Merge pull request #19866 from rnaby/260418-091223-wc-checkout
get_value method refactored
2018-04-26 12:34:46 +01:00
Mike Jolley 6a1cd802bc
Merge pull request #19868 from rnaby/260418-101617-wc-checkout
process_order_without_payment method redundant else removed
2018-04-26 12:29:14 +01:00
Mike Jolley 2be94d24e9
Merge pull request #19869 from rnaby/260418-102041-wc-checkout
process_order_payment method redundant else removed.
2018-04-26 12:25:04 +01:00
Khan M Rashedun-Naby c235d05446 process_order_payment method redundant else removed. 2018-04-26 10:24:31 +06:00
Khan M Rashedun-Naby dfcec0ce39 process_order_without_payment method redundant else removed 2018-04-26 10:18:47 +06:00
Khan M Rashedun-Naby e1fea55cb6 get_value method refactored 2018-04-26 09:40:58 +06:00
Khan M Rashedun-Naby 6714d47e8d Some more clean up 2018-04-26 09:11:36 +06:00
Khan M Rashedun-Naby d7458493c6 get_checkout_fields method refactored 2018-04-26 09:03:51 +06:00
Mike Jolley a04c54a896
Merge pull request #19851 from woocommerce/fix-e2e-tests-before3.4
Fix the US currency name and attribute check for creating variable product
2018-04-25 12:03:54 +01:00
Mike Jolley 2f6d2b857b
Merge pull request #19833 from rnaby/240418-091920-wc-admin-log-table-list
Inverted the condition based returns.
2018-04-25 12:00:34 +01:00
Mike Jolley 6694d64ef6
Merge pull request #19845 from woocommerce/feature/19840
Trigger GeoLite2 database download after update
2018-04-25 11:59:46 +01:00
Mike Jolley 7a8d23ce41
Merge pull request #19852 from rnaby/250418-143213-wc_product_has_unique_sku
Removed redundant else
2018-04-25 11:59:10 +01:00
Khan M Rashedun-Naby f1c359859b Removed redundant else 2018-04-25 14:35:30 +06:00
Peter Fabian 76d9cc7b19 Fix the US currency name and attribute check for creating variable product. 2018-04-25 10:00:10 +02:00
Claudio Sanches d496e28d08 Trigger GeoLite2 database download after update
Closes #19840
2018-04-24 15:32:27 -03:00
Claudio Sanches 574c829096 Introduced function to check if geolocation is enabled 2018-04-24 15:22:12 -03:00
Claudiu Lodromanean a07135ce9e
Merge pull request #19839 from woocommerce/fix/jquery-ui-404s
Add missing jquery UI images
2018-04-24 10:54:12 -07: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 3f50c60ccf Add missing jquery UI images 2018-04-24 13:58:32 +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
Khan M Rashedun-Naby 845097f42a Inverted the condition based returns. 2018-04-24 09:21:33 +06: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