Commit Graph

15811 Commits

Author SHA1 Message Date
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
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 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 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
Mike Jolley 54357733bd
Merge pull request #20202 from jamesckemp/patch-10
Allow HTML when using `wc_attribute_label()`
2018-05-24 20:45:45 +01:00
Mike Jolley a05059f3eb redundent check 2018-05-24 20:44:02 +01:00
Mike Jolley 4cdae90aa4 Avoid new method
Co-Authored-By: grola <grola@users.noreply.github.com>
2018-05-24 20:41:20 +01:00
Mike Jolley 974d33eb85 Prevent action running for non-instance screens
Co-Authored-By: grola <grola@users.noreply.github.com>
2018-05-24 20:35:48 +01:00
James Kemp 596e6e2271 Add filter to sanitize woocommerce_attribute_label 2018-05-24 19:32:32 +01:00
James Kemp 71a4f1079f Revert "Escape attributes labels but allow HTML"
This reverts commit f7fa7b6a41.
2018-05-24 19:30:48 +01:00
Khan M Rashedun-Naby 4a8b7b876e woocommerce_pagination refactored 2018-05-24 23:23:10 +06:00
Mike Jolley 9237353a83 Made constructor more readable with protected method 2018-05-24 18:19:42 +01:00
Khan M Rashedun-Naby 18ae4c8d5c wc_setup_product_data refactored 2018-05-24 23:11:13 +06:00
Khan M Rashedun-Naby 5b079343e8 Early return 2018-05-24 23:02:07 +06:00
Khan M Rashedun-Naby 2725cd56d4 wc_remove_number_precision_deep logic simplified 2018-05-24 22:55:00 +06:00
Khan M Rashedun-Naby cb7b853199 wc_rand_hash logic simplified 2018-05-24 22:42:56 +06:00
Peter Fabian 187eff6e95
Merge pull request #20205 from woocommerce/fix/20204
If the file size cannot be read, ignore range headers.
2018-05-24 17:26:09 +01:00
Mike Jolley 8e5efd9122
Merge pull request #19980 from urosmil/patch-2
Add endpoints to account menu items filter
2018-05-24 17:17:00 +01:00
Mike Jolley 8bcf32c68d
Merge pull request #19981 from timothyjensen/coupon-usage-count-hooks
Add coupon usage count hooks
2018-05-24 17:16:17 +01:00
Mike Jolley 3a673aa4e9
Merge pull request #20000 from woocommerce/update/19983
Exclude frontend include from REST API calls
2018-05-24 17:11:27 +01:00
Mike Jolley d5e6b21b38
Merge pull request #20206 from CHEWX/bug-menu-endpoint-title
[menu] - change title to capitalized to match wp core
2018-05-24 17:06:07 +01:00
Mike Jolley 7df57c2cd1
Merge pull request #20207 from woocommerce/fix/20185
Excluded children categories from WP_Query in product shortcode if cat_operator=AND
2018-05-24 17:01:43 +01:00
Mike Jolley dac3da8b26
Merge pull request #20079 from rnaby/150518-154336
wc_get_object_terms refactored
2018-05-24 16:35:35 +01:00
Mike Jolley f5343cf4c7
Merge pull request #20067 from rnaby/150518-000347
ElseIf and Else Statement Removed
2018-05-24 16:33:56 +01:00
Mike Jolley 4666359840
Merge pull request #20074 from rnaby/150518-080603
wc_list_pages function refactored
2018-05-24 16:33:32 +01:00
Mike Jolley 18ea88d05d
Merge pull request #20077 from rnaby/150518-150047
Unnecessary Else Removed
2018-05-24 16:32:21 +01:00
Mike Jolley 2f87873ca5
Merge pull request #20093 from rnaby/160518-090545
Little clean up and fix
2018-05-24 16:26:15 +01:00
Mike Jolley 83a9831dc0
Merge pull request #20092 from rnaby/160518-084433
wc_get_loop_class logic simplified
2018-05-24 16:25:26 +01:00
Peter Fabian 082c1dfaf3 Excluded children categories from WP_Query in product shortcode if cat_operator=AND. 2018-05-24 16:12:48 +01:00
Mike Jolley b7099509ee If the file size cannot be read, ignore range headers.
Fixes #20204
2018-05-24 16:10:45 +01:00
Tom Hopcraft daf301e83c [menu] - change title to capitalized to match wp core 2018-05-24 15:56:13 +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 725639bb96 "payment tokens" terminology 2018-05-24 13:42:20 +01: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 b1739dd21d Add functionality to handle import files hosted on server 2018-05-24 07:34:40 +02:00
Mike Jolley 87b077e57a Check billing email is posted before using
Closes #20178
2018-05-23 15:04:03 +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 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 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 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 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 03dfd9b262 Remove . from strings 2018-05-21 17:02:33 +01:00
Mike Jolley faa09deff1 Recalc taxes if address changes in API 2018-05-18 21:47:04 +01:00
Mike Jolley 4fc19b6766 feedback 2018-05-18 21:28:51 +01: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
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
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 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
Gerhard Potgieter 5141e69339
Merge pull request #20084 from woocommerce/fix/20044
Fix tooltip styling when outside label
2018-05-18 12:29:40 +01:00
Gerhard Potgieter ff05df5dac
Merge pull request #20083 from woocommerce/fix/20058
When duplicating variation, set the date to null
2018-05-18 12:28:55 +01:00
Gerhard Potgieter ad24b9c9d9
Merge pull request #20041 from woocommerce/fix/20039
Wrap cell in ' rather than prepend
2018-05-18 12:27:26 +01:00
Gerhard Potgieter 7a501337b9
Merge pull request #20061 from saimonh3/fix/20060
fix(missing-country-code): add bahrain country code in the load_country_states method
2018-05-18 12:26:39 +01:00
Mike Jolley 7481c2c205 Remove legacy meta data from orders 2018-05-18 11:58:21 +01:00
Mike Jolley ddece6a53b Revert "Don't force default token gateway active by default"
This reverts commit 2ef13c3e72.
2018-05-18 11:32:49 +01:00
Mike Jolley 660649e767 Don't force default token gateway active by default 2018-05-18 11:32:39 +01:00
Mike Jolley 2ef13c3e72 Don't force default token gateway active by default 2018-05-18 11:30:56 +01:00
Mike Jolley 20c184274b Prevent autofocus on checkout 2018-05-18 10:39:51 +01:00
Mike Jolley c4e1f8cd76 When cleaning up CSV import, only remove product taxonomies 2018-05-16 08:57:37 +01:00
Khan M Rashedun-Naby 0c70ed69f3 Little clean up and fix 2018-05-16 09:08:49 +06:00
Khan M Rashedun-Naby 3f824ae000 wc_get_loop_class logic simplified 2018-05-16 08:47:35 +06:00
Jason Conroy e8e438704b Fix incorrectly closed table row
Introduced with 23b69eba53 (diff-1b33d607bfa554752b46fad3269637deR806)
2018-05-16 11:36:02 +10:00
Claudio Sanches dbec84e0a9 Allow oAuth1.0a under SSL
Closes #20042
2018-05-15 23:51:59 +01:00