Commit Graph

27704 Commits

Author SHA1 Message Date
Mike Jolley d9d2093d50 Log errors from transaction emails with logger
Closes #20118
2018-05-24 15:37:00 +01:00
James Kemp 16785b33ab Do not escape HTML for attribute label 2018-05-24 15:29:53 +01:00
James Kemp f7fa7b6a41
Escape attributes labels but allow HTML
Escape attribute labels with wp_kses_post so HTML is allowed if required.
2018-05-24 15:15:35 +01:00
Mike Jolley a2a099f23d Export legacy paypal meta data in exporter 2018-05-24 15:06:53 +01:00
Mike Jolley 2b52d00cb5
Merge pull request #20195 from Spreeuw/patch-4
Update address-i18n.js
2018-05-24 14:48:11 +01:00
Mike Jolley 725639bb96 "payment tokens" terminology 2018-05-24 13:42:20 +01:00
Ewout Fernhout 292be93403
Update address-i18n.js
fixes #20194
2018-05-24 14:37:21 +02:00
Gerhard Potgieter 3c2221a4b0 Add a exception test to coupon delete 2018-05-24 12:37:52 +02:00
Gerhard Potgieter 9bc6ca5df3 Fix the coupon data store delete unit test, you should not have been able to create a new datastore from a deleted coupon ID. See product data store tests are reference for this. 2018-05-24 12:26:36 +02:00
Gerhard Potgieter 07c18b59f0 Add unit test to test again passing a coupon object in the constructor 2018-05-24 11:28:24 +02:00
Gerhard Potgieter 288b5d9117 Refactor WC_Coupon constructor to allow for passing in coupon objects 2018-05-24 11:21:41 +02:00
Gerhard Potgieter dbafe34ed2 Fix test to test the actual file upload and not just the import 2018-05-24 09:18:26 +02:00
Gerhard Potgieter 16385a957c Add unit test for testing products in ABSPATH on server. 2018-05-24 08:56:57 +02:00
Gerhard Potgieter b1739dd21d Add functionality to handle import files hosted on server 2018-05-24 07:34:40 +02:00
James Allan c1d06b473d Add an action hook after printing the cart item name 2018-05-24 14:08:27 +10:00
Mike Jolley 87b077e57a Check billing email is posted before using
Closes #20178
2018-05-23 15:04:03 +01:00
Mike Jolley 216dce4fab
Merge pull request #20179 from woocommerce/fix/19135
Just use exit() in AJAX endpoints used to redirect users
2018-05-23 14:59:13 +01:00
Claudio Sanches 09f7425fea Just use exit() in AJAX endpoints used to redirect users 2018-05-23 10:50:49 -03:00
Mike Jolley 2aec467de8
Wait for address fields to update in e2e checkout test (#20176)
* See if this error is breaking e2e

* Revert "See if this error is breaking e2e"

This reverts commit 3de6d71fc7.

* wait for address update
2018-05-23 12:56:35 +01:00
Mike Jolley 65bbcfee96
Merge pull request #20174 from ChaseWiseman/fix/show-single-payment-methods-pay-page
Only hide .payment_box elements on init for multiple payment methods
2018-05-23 11:20:28 +01:00
Mike Jolley 71bf43db04
Merge pull request #20173 from woocommerce/fix/extra-space
Fixed extra space in state name for LR
2018-05-23 11:07:27 +01:00
Chase Wiseman 346e710314 Only hide .payment_box elements init for multiple methods
Prevents hiding a single payment method’s UI on the order pay page
2018-05-22 14:42:16 -07:00
Claudio Sanches c3063a6ad3 Fixed extra space in state name for LR 2018-05-22 16:27:31 -03:00
Mike Jolley c05c5d75cb No need to check if terms page is set if the field was posted. 2018-05-22 15:14:12 +01:00
Mike Jolley 396b2bde85 ignore 2018-05-22 13:58:36 +01:00
Mike Jolley 5afb40fcbb
Merge pull request #20162 from woocommerce/fix/20133-string-parsing
Improve external product string parsing
2018-05-22 13:54:03 +01:00
Mike Jolley bcd2aa05d3
Merge pull request #20163 from woocommerce/fix/20157
Checkout preview in customizer
2018-05-22 13:48:53 +01:00
Mike Jolley adbda9e7c4
Merge pull request #20155 from woocommerce/update/contributors-generation
Add contributors file generation
2018-05-22 13:46:02 +01:00
Claudio Sanches a020066412 Updated package lock and fixing coding standards in Gruntfile.js 2018-05-22 09:40:30 -03:00
Mike Jolley 4f208f3e7e
Merge pull request #20156 from woocommerce/update/strings-full-stops
Remove . from settings strings
2018-05-22 12:58:11 +01:00
Mike Jolley 9c2edf4983 Moves around some includes so they are included before the autoloader needs to find them 2018-05-22 12:57:48 +01:00
Mike Jolley 52d5700681
Merge pull request #20126 from woocommerce/fix/20119
Remove legacy meta data from orders
2018-05-22 11:47:15 +01:00
Mike Jolley a3c18696e8 Fix terms display in preview 2018-05-22 11:19:39 +01:00
Mike Jolley be63fb152a Preview checkout without dummy product 2018-05-22 11:19:09 +01:00
Mike Jolley 6e0d0fe6ed Simplify code in template 2018-05-22 10:53:33 +01:00
Mike Jolley 7609ed82da Make wc_query_string_form_fields handle strings 2018-05-22 10:53:08 +01:00
Mike Jolley bd625a0537 Escape and decode amsersands correcrtly 2018-05-22 10:52:51 +01:00
Mike Jolley 0d799b2d06
Merge pull request #20130 from woocommerce/update/20105
Data erasers; target shop_order only and allow filtering
2018-05-21 17:37:32 +01:00
Mike Jolley 6bbd598713
Merge pull request #20137 from woocommerce/fix/20135
Recalc taxes if address changes in API
2018-05-21 17:37:15 +01:00
Mike Jolley 231c8da566
Merge pull request #20138 from woocommerce/fix/20133
Use GET in external product form
2018-05-21 17:36:51 +01:00
Mike Jolley 03dfd9b262 Remove . from strings 2018-05-21 17:02:33 +01:00
Mike Jolley b5707e897e Adds contributors file generation 2018-05-21 15:28:32 +01:00
Mike Jolley 7fc75897cd Use GET in external product form 2018-05-18 22:16:59 +01:00
Mike Jolley faa09deff1 Recalc taxes if address changes in API 2018-05-18 21:47:04 +01:00
Mike Jolley dfcde3bba2
Merge pull request #20132 from woocommerce/add/abstract-privacy-priorities
WC_Abstract_Privacy allow to specify filters' priority
2018-05-18 21:31:25 +01:00
Mike Jolley a04aa3e043
Merge pull request #20136 from pierrebuet/master
Avoid double input field
2018-05-18 21:30:26 +01:00
Mike Jolley 4fc19b6766 feedback 2018-05-18 21:28:51 +01:00
pierrebuet 3b18ac12d1 Avoid double input field
When geolocalization is active and a form uses the GET method, the script adds an hidden field for the geolocalization hash v, without checking if it already exists. But wc_query_string_form_fields adds it already, if the parameter was present in the called url.
2018-05-18 21:39:19 +02:00
Marcin Bot 5130edf566 WC_Abstract_Privacy allow to specify filters' priority 2018-05-18 16:07:36 +01:00
Mike Jolley bf50e871f4 Update/add filter 2018-05-18 15:28:48 +01:00