Gary Ritchie
552fa3d107
Merge remote-tracking branch 'upstream/master'
2017-09-22 20:31:00 -07:00
Mike Jolley
3cd46c6119
Merge pull request #16887 from Miller-Media/fix/16884
...
Add check for 0 as a string
2017-09-22 14:19:58 +01:00
Mike Jolley
35740448a0
Merge pull request #16885 from woocommerce/fix/16845
...
Move js clipboards off zeroclipboard
2017-09-22 14:18:44 +01:00
Mike Jolley
5d36e6a9c8
Merge pull request #16886 from woocommerce/fix/16879
...
Move couple things out of "foreach" loop
2017-09-22 14:17:25 +01:00
Gary Ritchie
a25d3c8af4
Allow registration to redirect to same page
...
Fixes #16889
2017-09-21 20:50:45 -07:00
Brent Shepherd
89e932c338
Fix shipping tax when calling calculate_shipping()
...
The $shipping_taxes is a multidimensional array so array_sum() does not
correctly sum the values. The $merged_taxes is a single level array with
all other taxes set, so array_sum() can be safely used on it.
2017-09-21 16:48:32 -07:00
Matt Miller
c87762177b
Add check for 0 as a string
2017-09-21 16:21:49 -07:00
claudiulodro
ee30de89a8
Shuffle things around to prevent errors and for better performance
2017-09-21 14:06:44 -07:00
claudiulodro
279ac6814c
Move clipboards off zeroclipboard
2017-09-21 13:09:36 -07:00
Claudiu Lodromanean
abc43c473e
Merge pull request #16877 from nicoladj77/patch-1
...
Check for nonce when Cancelling Order.
2017-09-21 10:27:12 -07:00
Claudiu Lodromanean
e713b5beb3
Merge pull request #16869 from woocommerce/fix/16861
...
Fix legacy access to array props (fees, taxes, coupon totals + taxes)
2017-09-21 09:47:29 -07:00
claudiulodro
d5981b34e8
Remove redundant rendundancy in deprecation notices
2017-09-21 09:45:38 -07:00
Matt Miller
a871d36380
Added wp_unslash() to address fields on the checkout page ( #16874 )
...
* Added wp_unslash() to address fields on the checkout page
* Cleaned up code indentation
* Added wp_unslash() function on remaining POST address fields on checkout
2017-09-21 17:37:27 +01:00
Claudiu Lodromanean
3063825c4d
Merge pull request #16867 from woocommerce/fix/16853
...
Add legacy shipping conditon
2017-09-21 09:24:14 -07:00
Claudiu Lodromanean
5e24b86d61
Merge pull request #16866 from woocommerce/fix/16840
...
Add subtotal to min and max spend code
2017-09-21 09:08:34 -07:00
Claudiu Lodromanean
3440460127
Merge pull request #16865 from woocommerce/fix/16862
...
remove spam field
2017-09-21 09:06:08 -07:00
Nicola Peluchetti
74bea6ec7d
Check for nonce when Cancelling Order.
2017-09-21 03:08:06 +03:00
Brent Shepherd
470c5f7a1d
Use __FUNCTION__ for filter hook name
...
To avoid including the WC_Cart class name and a double colon.
Example hook from WC_Cart::get_total():
* Before this PR: woocommerce_cart_WC_Cart::get_total
* After this PR: woocommerce_cart_get_total
2017-09-20 14:45:37 -07:00
Mike Jolley
5151415eec
Merge branch 'discounts-class-fixes-and-tests'
2017-09-20 18:44:18 +01:00
Mike Jolley
9c63da78c4
Fixed limit to x by avoiding changing the original item (uses clone)
2017-09-20 18:42:10 +01:00
Mike Jolley
21dfde842a
Revised coupon sort order to not rely on IDs which can differ between cart and tests
...
Also edited test to match
2017-09-20 18:41:48 +01:00
Mike Jolley
c0542be4ff
Merge branch 'pr/16841'
2017-09-20 15:47:37 +01:00
Mike Jolley
3d9902c4d5
Page template should have higher priority.
2017-09-20 15:47:30 +01:00
Mike Jolley
eb79566985
Fix legacy access to array props (fees, taxes, coupon totals + taxes)
...
Closes #16861
2017-09-20 15:39:05 +01:00
Mike Jolley
f1f3a6fbc0
Add legacy shipping conditon
...
Closes #16853
2017-09-20 14:11:47 +01:00
Mike Jolley
9e1bd3c54d
phpcs
2017-09-20 14:03:06 +01:00
Mike Jolley
2c70444123
Add subtotal to min and max spend code
...
Closes #16840
2017-09-20 13:51:41 +01:00
Mike Jolley
6aea8d0718
Wrap conditonal in add to cart shortcode string output
...
Closes #16856
2017-09-20 13:18:16 +01:00
Mike Jolley
d52677b0ac
Fix like query escape in background processing
...
Closes #16846
2017-09-20 12:46:27 +01:00
Mike Jolley
c91cd01379
remove spam field
...
Closes #16862
2017-09-20 11:51:33 +01:00
Mike Jolley
04ba489628
Merge pull request #16835 from thenbrent/tweak_internal_meta_message
...
Tweak internal meta notice
2017-09-20 03:39:56 -07:00
Mike Jolley
de1eceb95e
Merge pull request #16843 from woocommerce/fix/16800
...
Make importer columns case-insensitive
2017-09-20 03:39:27 -07:00
claudiulodro
133b664cc3
Only set prices if set in request
2017-09-17 11:44:00 -07:00
claudiulodro
9d8e308a78
Make importer columns case-insensitive
2017-09-17 10:18:03 -07:00
Claudiu Lodromanean
f9120672bd
Merge pull request #16767 from hjoelr/bugfix-coupon-cache
...
Bugfix: coupon object cache not being cleared upon deletion
2017-09-17 09:45:45 -07:00
Claudiu Lodromanean
2bf8a742f2
Merge pull request #16838 from woocommerce/fix/16834
...
Init price slider after using customizer
2017-09-17 09:24:07 -07:00
Emran Ahmed
066a857d19
Supporting Custom Post Type Template
...
Supporting Custom Post Type Template for Single Product.
2017-09-17 02:22:05 +06:00
Mike Jolley
d125739742
fix init
2017-09-16 12:37:29 -07:00
Claudiu Lodromanean
75279ddfbc
Merge pull request #16824 from woocommerce/fix/16778
...
Ensure we have arrays in find/replace
2017-09-16 12:36:10 -07:00
Mike Jolley
2bbeab247c
Merge pull request #16822 from woocommerce/fix-16821
...
Remove extra space in tax state code
2017-09-15 16:43:41 -07:00
Mike Jolley
a62bb30200
Merge pull request #16803 from iamdharmesh/master
...
Apply filter on product csv importer steps.
2017-09-15 16:39:20 -07:00
Mike Jolley
8973a0cdad
Merge pull request #16797 from Umangvaghela/add-esc_html
...
add esc_html in class-wc-checkout.php file
2017-09-15 16:37:50 -07:00
Brent Shepherd
81b9160973
Add offending key to error message
2017-09-15 15:58:34 -07:00
Brent Shepherd
f404affff4
Tweak internal meta notice
...
To remove ambiguity with accessing properties via $object->meta_key
syntax, which was deprecated with WC 3.0.
2017-09-15 15:48:53 -07:00
Mike Jolley
d3da954133
Move cart totals setter for 3.1 compat
...
Closes #16794
2017-09-15 11:15:50 -07:00
Umangvaghela
e38d01bcfa
Resolve Issue
2017-09-15 10:54:30 -07:00
Mike Jolley
11d6b4e7d8
Ensure we have arrays in find/replace
...
Closes #16778
2017-09-14 17:37:23 -07:00
corsonr
e9cc8242ce
Remove extra space in tax state code
...
Fixes #16821
Spaces shouldn’t allowed in tax state code, only 2 letters are required.
2017-09-14 15:50:25 -07:00
Mike Jolley
bac98218f3
Merge pull request #16782 from hjoelr/bugfix-discounts-wrong-var
...
Bugfix: Discounts not using the right variable
2017-09-14 11:32:27 -07:00
Mike Jolley
f9719c79eb
Merge pull request #16795 from hjoelr/bugfix/freeshipping-coupon
...
Bugfix: Resolve 'non-numeric value encountered' error in PHP 7.1 when freeshipping coupon used
2017-09-14 11:31:17 -07:00