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
Mike Jolley
ffcfbd2108
version
2018-03-13 10:21:57 +00:00
Mike Jolley
7acb475c59
escape and strip tags in the quantity template
...
Closes #19356
2018-03-13 10:21:42 +00:00
Mike Jolley
200f2371fd
Merge pull request #19342 from woocommerce/update/walkers-phpcs
...
Fixed walkers PHPCS violations
2018-03-13 10:17:27 +00:00
Mike Jolley
1b905b2975
Merge pull request #19331 from woocommerce/add/coupon-wildcard-email
...
Add wildcard email support for coupons.
2018-03-13 10:05:06 +00:00
Mike Jolley
b875299b65
Merge pull request #19372 from woocommerce/fix/broke-shipping-zones
...
Fixed missing shipping zones on settings
2018-03-13 10:02:30 +00:00
Mike Jolley
923bb58f9d
Merge pull request #19369 from woocommerce/fix/19247
...
Properly check for old and new slug while updating attributes
2018-03-13 10:01:43 +00:00
Mike Jolley
4bf8fbf9f4
Merge pull request #19371 from woocommerce/fix/19309
...
Clean up widget options and order_notes on uninstall
2018-03-13 10:00:32 +00:00
Mike Jolley
48303278f6
Merge pull request #19373 from nishitlangaliya/issue-19323
...
missing single quote added
2018-03-13 09:59:55 +00:00
Mike Jolley
272c43f0d8
Just ENT_QUOTES is enough in https://github.com/woocommerce/woocommerce/pull/19349
2018-03-13 09:58:38 +00:00
Anders Skouboe
363fb54a2d
Decode single quotes in short description editor
2018-03-13 09:58:38 +00:00
Gerhard Potgieter
9a13b4d365
Add unit tests for is_coupon_emails_allowed
2018-03-13 08:03:00 +02:00
nishitlangaliya
4b4fd3931e
missing single quote added
2018-03-13 11:15:43 +05:30
Gerhard Potgieter
01775a4443
Missing space
2018-03-13 07:34:47 +02:00
Claudio Sanches
988e5e576e
Fixed spacing
2018-03-12 17:40:13 -03:00