Rodrigo Primo
684d80b11d
Update chromedriver to version 2.36.0
...
This update is necessary as chromedriver 2.33.0 doesn't work well with the latest Chrome version and this is causing some e2e tests to fail.
2018-03-14 17:18:30 -03:00
Claudio Sanches
4a638c60bb
Reschedule download of GeoLite2 database when something goes wrong
2018-03-14 16:07:00 -03:00
Claudio Sanches
4e9c8f2590
Updated GeoLite2 Reader errors to warning level
2018-03-14 16:03:31 -03:00
Claudio Sanches
51cfb9b03e
Updated how GeoLite2 database is downloaded
2018-03-14 16:01:33 -03:00
Claudio Sanches
1791a192d8
Check for PHP version before try use GeoLite2
2018-03-14 14:07:20 -03:00
Claudio Sanches
7f6f4b848d
Created WC_Geolite_Integration class to handle with GeoLite2 integration
2018-03-14 13:57:07 -03:00
Claudio Sanches
29b9e9c085
GeoLite2 Reader integration
2018-03-14 12:42:53 -03:00
claudiulodro
f39a9ee61a
Round fractional cents when oob
2018-03-14 08:35:41 -07:00
Claudiu Lodromanean
feba3bd3ed
Merge pull request #19378 from woocommerce/fix/19217
...
Deletes orphan variations after successful import.
2018-03-14 08:27:30 -07:00
Mike Jolley
27f07807a5
Clean up
2018-03-14 15:23:39 +00:00
Mike Jolley
e0ab13bd3c
Tests and test pass
2018-03-14 15:14:45 +00:00
Mike Jolley
fec36ff4b2
Test runner
2018-03-14 14:29:03 +00:00
Mike Jolley
f166e25b19
basic integration with https://core.trac.wordpress.org/ticket/43438
2018-03-14 14:11:42 +00:00
Mike Jolley
06418f67e5
Merge pull request #19225 from roylindauer/17355-SplitAndFilter
...
Split layered nav transient per issue #17355
2018-03-14 12:50:54 +00:00
Mike Jolley
c64d918a98
Merge branch 'update/setup-wizard-activate-step-when-jetpack-connected'
2018-03-14 12:49:59 +00:00
Mike Jolley
a60e51afe1
Merge branch 'master' into update/setup-wizard-activate-step-when-jetpack-connected
2018-03-14 12:49:44 +00:00
Mike Jolley
f771e323d9
Set opt-in/out based on geolocation data and DNT headers
2018-03-14 12:32:40 +00:00
Roy Lindauer
33cfed8e47
ensure that cache is deleted
2018-03-13 15:37:09 -07:00
Roy Lindauer
b151480e6b
fix indentation issues
2018-03-13 15:34:47 -07:00
Mike Jolley
e03bc3d447
Merge pull request #19381 from woocommerce/fix/phpcs-violations-includes
...
Fix PHPCS violations in a few includes/ files
2018-03-13 19:36:53 +00:00
Mike Jolley
d052b2ee46
cache per parent to avoid large caches
2018-03-13 19:00:08 +00:00
Claudio Sanches
6fdc1a547d
Download new GeoLite2 and deprecated legacy GeoLite
2018-03-13 15:57:32 -03:00
claudiulodro
7e0ad645f3
Unit test for oob rounding issue
2018-03-13 11:41:25 -07:00
Mike Jolley
c8909c1656
Merge pull request #19206 from woocommerce/fix/19175
...
Update the description of the user tracking notice in the onboarding wizard
2018-03-13 18:22:10 +00:00
Mike Jolley
cb3c4849b4
Merge branch 'master' into fix/19175
2018-03-13 18:14:36 +00:00
Claudio Sanches
39c702403a
Updated system status message about MaxMind GeoIP database
2018-03-13 14:54:56 -03:00
Claudio Sanches
f24fe25c7d
Included new GeoLite2 DB reader library
2018-03-13 14:50:01 -03:00
Claudiu Lodromanean
05b4bf7a55
Merge pull request #19382 from woocommerce/fix/19370
...
Variations errors
2018-03-13 10:42:49 -07:00
Claudiu Lodromanean
c38e0e69e9
Merge pull request #19376 from woocommerce/fix/19362
...
Correctly handle default ordering on the search page
2018-03-13 10:39:59 -07:00
Claudio Sanches
c2966805c8
Merge pull request #19386 from woocommerce/fix/insert-term-fatal-error
...
Check if wp_insert_term() returned a term before using it
2018-03-13 14:33:17 -03:00
Claudio Sanches
941d2a7bfe
Merge pull request #19384 from woocommerce/fix/default-product-category-check
...
Fix default product category check
2018-03-13 14:31:16 -03:00
Claudiu Lodromanean
824a801376
Merge pull request #19375 from woocommerce/fix/19356
...
Escape quantity label correctly.
2018-03-13 10:17:29 -07:00
Claudiu Lodromanean
3a5644ddce
Merge pull request #19338 from woocommerce/fix/19222
...
Fix JS state/country inputs
2018-03-13 10:10:24 -07:00
Claudiu Lodromanean
075e4cb0f8
Merge pull request #19388 from woocommerce/update/12912
...
Add general woocommerce_form_field filter
2018-03-13 09:46:58 -07:00
Mike Jolley
1dbf1bc1d8
add general woocommerce_form_field filter
2018-03-13 14:30:19 +00:00
Mike Jolley
5d6b43dbc8
Update nonce handling
2018-03-13 14:16:56 +00:00
Mike Jolley
9d10d107e2
Add names to nonces in template files.
2018-03-13 14:15:41 +00:00
Rodrigo Primo
d603ba0b68
Check if wp_insert_term() returned a term before using it
...
This commit adds a check to make sure wp_insert_term() returned a term and not an instance of WP_Error before trying to access it. Without this change, the old code could produce the following fatal error:
Uncaught Error: Cannot use object of type WP_Error as array in includes/class-wc-install.php:478
Fixes #19377
2018-03-13 11:02:55 -03:00
Rodrigo Primo
40c56d8ee3
Fix default product category check
...
This commit casts the 'default_product_cat' option to integer before passing it to `term_exists()`. If we don't do this, `get_option( 'default_product_cat' )` return a string that is passed to `term_exists( $woocommerce_default_category, 'product_cat' )`. `term_exists()` assumes that strings are term names or slugs and search only for this fields to check if the given term exist. So it will return false (unless the term name equals to the term ID which is unlikely) even though the term exists. To make it search for terms IDs to check if the given term exists, it is necessary to pass an integer.
2018-03-13 10:19:35 -03:00
Mike Jolley
a5a6d02f86
Fix null check introduced by phpcs changes
2018-03-13 11:57:51 +00:00
Mike Jolley
1dd558ac69
Loading should be false
2018-03-13 11:50:43 +00:00
Rodrigo Primo
4229b3c5b2
Rename WC_Validation::is_GB_postcode() to WC_Validation::is_gb_postcode()
...
To follow WP coding standards
2018-03-13 08:49:40 -03:00
Rodrigo Primo
850bbc1c40
PHPCS fixes in includes/class-wc-validation.php
2018-03-13 08:49:34 -03:00
Rodrigo Primo
c2c1501acc
PHPCS fixes in includes/class-wc-webhook.php
2018-03-13 08:35:25 -03:00
Mike Jolley
291de9c1fb
Override supports for PayPal to see if credentials exist
2018-03-13 11:35:20 +00:00
Rodrigo Primo
52e067eeef
PHPCS fixes in includes/wc-conditional-functions.php
2018-03-13 08:33:48 -03:00
Mike Jolley
d910f11b49
Delete orphans after import
2018-03-13 11:14:24 +00:00
Mike Jolley
387ea23d39
phpcs
2018-03-13 11:11:11 +00:00
Mike Jolley
e4e581c2ef
Correctly handle default ordering on the search page
...
Fixes woocommerce_catalog_ordering function and closes #19362 .
2018-03-13 10:43:58 +00:00
Torre Lasley
64f85346c0
Add filter to allow plugins to override the default coupon apply order. ( #19339 )
...
* Fix for Issue #10523 - Variations ID lookup by SKU
I copied the code from the bulk() function to look up the Variation ID by the Variation SKU if the Variation ID is missing.
* Added new filter woocommerce_coupon_sort to allow plugins to override the default coupon apply order.
2018-03-13 10:26:22 +00:00