Gerhard Potgieter
4e40d79f84
Use wc_clean and not wp_unslash when cleaning the file path, strips out slashed on windows machines
2018-05-28 11:50:04 +02:00
Remi Corson
61b9461375
Add wp_kses() authorized tag
2018-05-28 11:44:05 +02:00
Remi Corson
4743dba7d0
Make sample tax rate URL clickable
2018-05-28 11:23:32 +02:00
Gerhard Potgieter
dbd476e7de
Add unit tests for importing taxes
2018-05-28 11:18:42 +02:00
Gerhard Potgieter
2ad9b00c9c
Merge pull request #20257 from wchrismontgomery/fix/20253
...
Fix infinite loop with importing tax rates (#20253 ).
2018-05-28 11:04:04 +02:00
Chris Montgomery
5c37551128
Fix infinite loop with importing tax rates ( #20253 ).
2018-05-26 22:42:37 +00:00
James Kemp
0eeb7834cd
Echo attribute label
2018-05-26 13:10:09 +01:00
James Kemp
1c99022600
Echo attribute label for "empty" default option
...
The empty option for the default attribute value selectors was not echoed.
2018-05-26 12:59:40 +01:00
Ismail El Korchi
4b2b654749
Update wc_maybe_define_constant doc
2018-05-26 03:16:44 +00:00
boodaah
14f090f82e
Add anchor tag example to email template preview
2018-05-25 14:41:20 -04:00
Mike Jolley
e1ba7f4b93
Introduce is_paypal_supported_currency check in setup wizard
2018-05-25 17:28:56 +01:00
Mike Jolley
127e5f0213
Merge pull request #20242 from TimBHowe/fix/20240
...
Updated URL's tab parameter to fix broken edit webhook button
2018-05-25 16:46:36 +01:00
Mike Jolley
048b95e135
Correct code to run again
2018-05-25 16:36:07 +01:00
Tim Howe
b783e94084
Updated URL's tab parameter to fix broken edit webhook button
2018-05-25 10:29:03 -04:00
Mike Jolley
083c994732
Break up update routine and allow it run to multuple times
2018-05-25 14:18:19 +01:00
Mike Jolley
45ba81a30b
Merge pull request #20239 from woocommerce/fix/system-status-failing-test
...
Fix broken system status unit test
2018-05-25 13:34:43 +01:00
Gerhard Potgieter
54b23918b9
Fix broken system status unit test, https://github.com/woocommerce/woocommerce/pull/20231 introduced a new item to the schema
2018-05-25 14:19:14 +02:00
Mike Jolley
6690e54921
Merge pull request #20217 from woocommerce/fix/20182
...
Prevent shipping method instance save action running on non-instance screens
2018-05-25 13:06:04 +01:00
Mike Jolley
296de85c17
Merge pull request #20235 from woocommerce/fix/20224
...
add missing wp_unslash calls to product data meta box
2018-05-25 13:05:32 +01:00
Mike Jolley
40ac62eea9
Merge pull request #20236 from woocommerce/fix/20220
...
Fix webhook filtering URLs
2018-05-25 13:04:38 +01:00
Mike Jolley
ad10e846ea
get_canonical_package_rate_ids should check it has an array
2018-05-25 12:54:58 +01:00
Mike Jolley
58b9be29b9
Merge pull request #20191 from woocommerce/fix/20186
...
Product import from file on server
2018-05-25 12:29:27 +01:00
Mike Jolley
c31cd4d962
Merge pull request #20234 from woocommerce/fix/20228
...
Check plugin properties exist when listening to auto_update_plugin hook
2018-05-25 12:29:17 +01:00
Mike Jolley
f1bed0d97b
Merge pull request #20231 from woocommerce/fix/20227
...
Wrapper function to get full mysql version string with mariadb handling
2018-05-25 12:29:05 +01:00
Mike Jolley
34949d3971
Fix webhook filtering URLs
2018-05-25 12:21:31 +01:00
Mike Jolley
81b65f1783
add missing wp_unslash calls to product data meta box
2018-05-25 12:15:59 +01:00
Mike Jolley
d0d87b5e39
Check plugin properties exist
2018-05-25 12:07:12 +01:00
Mike Jolley
e239f9101b
Merge pull request #20233 from rnaby/250518-165054-wc-user-functions-wc_create_new_customer
...
wc_create_new_customer logic simplified
2018-05-25 12:03:22 +01:00
Gerhard Potgieter
2f9c9e4954
Fix server file upload test
2018-05-25 13:00:59 +02:00
Gerhard Potgieter
5b1180d81a
Server files always need to be relative to ABSPATH, and use wc_clean as esc_url_raw will mess up file paths.
2018-05-25 12:57:01 +02:00
Khan M Rashedun-Naby
34360dff0a
wc_create_new_customer logic simplified
2018-05-25 16:53:27 +06:00
Mike Jolley
70e3218a94
Merge pull request #20190 from james-allan/add_action_after_cart_item_title
...
Add an action hook after printing the cart item name
2018-05-25 11:46:20 +01:00
Mike Jolley
e506c4b3f6
Merge pull request #20221 from mikeyarce/rtl-price-filter
...
Display price filter widget in LTR for RTL sites
2018-05-25 11:41:12 +01:00
Mike Jolley
786641e976
Merge pull request #20232 from rnaby/250518-161500-wc-template-functions-wc_logout_url
...
wc_logout_url refactored
2018-05-25 11:40:00 +01:00
Khan M Rashedun-Naby
49f76ebb5b
wc_logout_url refactored
2018-05-25 16:34:06 +06:00
Mike Jolley
75f88041d7
Merge pull request #20197 from woocommerce/update/20183
...
"payment tokens" terminology
2018-05-25 11:33:40 +01:00
Mike Jolley
b96c7f6192
Merge pull request #20200 from woocommerce/update/20184
...
Export legacy paypal meta data in exporter
2018-05-25 11:33:26 +01:00
Mike Jolley
717fd61a16
Merge pull request #20226 from rnaby/250518-104427-wc-template-functions-get_product_search_form
...
Removed get_product_search_form else
2018-05-25 11:29:07 +01:00
Mike Jolley
416a4785b2
Merge pull request #20230 from rnaby/250518-154433-wc-template-functions-wc_get_rating_html
...
wc_get_rating_html refactored
2018-05-25 11:28:27 +01:00
Mike Jolley
fc24e2f440
Merge pull request #20214 from rnaby/240518-232027-wc-template-functions-woocommerce_pagination
...
woocommerce_pagination refactored
2018-05-25 11:23:36 +01:00
Mike Jolley
3cf7bfc328
Merge pull request #20213 from rnaby/240518-230624-wc-template-functions-wc_setup_product_data
...
wc_setup_product_data refactored
2018-05-25 11:22:23 +01:00
TheDramatist
29a6a7a494
wc_add_number_precision_deep logic simplified ( #20211 )
...
* wc_add_number_precision_deep logic simplified
* Early return
2018-05-25 11:18:49 +01:00
Mike Jolley
0bfd675238
Wrapper function to get full mysql version string with mariadb handling
2018-05-25 11:15:30 +01:00
Khan M Rashedun-Naby
c3f4826caf
wc_get_rating_html refactored
2018-05-25 16:10:26 +06:00
Mike Jolley
2a10ef31fa
Merge pull request #20212 from rnaby/240518-225308-wc-core-functions-wc_remove_number_precision_deep
...
wc_remove_number_precision_deep logic simplified
2018-05-25 10:39:48 +01:00
Mike Jolley
571919936c
Merge pull request #20210 from rnaby/240518-223657-wc-core-functions-wc_rand_hash
...
wc_rand_hash logic simplified
2018-05-25 10:33:41 +01:00
Mike Jolley
f05167df17
Merge pull request #20222 from liquidweb/fix/iso-3166-1-alpha-2
...
Ensure tests use ISO 3166-1 alpha-2 country codes
2018-05-25 10:32:48 +01:00
Mike Jolley
171139295c
Merge pull request #20193 from woocommerce/fix/20192
...
Fix WC_Coupon constructor with Coupon object
2018-05-25 10:29:38 +01:00
Khan M Rashedun-Naby
52d28b69c2
Removed Else
2018-05-25 10:45:38 +06:00
Steve Grunwell
4bbf9c364d
Ensure tests use ISO 3166-1 alpha-2 country codes
...
[According to the WooCommerce wiki](https://github.com/woocommerce/woocommerce/wiki/Order-and-Order-Line-Item-Data ) and `WC_REST_Orders_Controller`, WooCommerce stores country codes using the ISO 3166-1 alpha-2 (2 character) standard. However, the `WC_Tests_Order_Functions::test_wc_get_order_address_params()` test method was using 'USA' instead of 'US'.
2018-05-24 20:50:01 +00:00