Commit Graph

27474 Commits

Author SHA1 Message Date
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
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
Gerhard Potgieter 09891e00cf
Merge pull request #20131 from woocommerce/fix/20100
Change token export format
2018-05-18 15:20:24 +01:00
Mike Jolley bbfd419c8b Array of arrays 2018-05-18 15:13:54 +01:00
Mike Jolley 00288c3b7f Change token export format 2018-05-18 15:10:43 +01:00
Mike Jolley 2812408665
Merge pull request #20129 from wayheming/master
File version
2018-05-18 14:49:54 +01:00
Gerhard Potgieter c61e0688c6
Merge pull request #20123 from woocommerce/fix/20110
Prevent autofocus on checkout
2018-05-18 14:32:30 +01:00
Gerhard Potgieter 7302d21a55
Merge pull request #20094 from woocommerce/fix/20051
When cleaning up CSV import, only remove product taxonomies
2018-05-18 14:30:45 +01:00
Gerhard Potgieter d3d36de567
Merge pull request #20091 from jconroy/status_table_row_fix
Fix incorrectly closed system status table row
2018-05-18 14:29:42 +01:00
Gerhard Potgieter c09fc9950d
Merge pull request #20090 from woocommerce/fix/20070
Remove hardcoded border in email template
2018-05-18 14:28:52 +01:00
Ernest 5a01f0edc6 File version 2018-05-18 15:09:50 +03:00
Gerhard Potgieter 6000580ec9
Merge pull request #20086 from woocommerce/fix/20081
Fix rounding of line items for orders
2018-05-18 12:31:09 +01:00
Gerhard Potgieter 7c120bb62f
Merge pull request #20085 from woocommerce/fix/20057
Set date created if null during update
2018-05-18 12:30:26 +01:00
Mike Jolley c409a30765 erasers; target shoP_order only and allow filters 2018-05-18 12:29:56 +01:00