Commit Graph

31988 Commits

Author SHA1 Message Date
Claudio Sanches 28d49031d3
Merge pull request #23695 from james-allan/calc-base-zip-city
Calculate base store taxes including the store's zip and city
2019-05-22 20:49:57 -03:00
Claudio Sanches 8ea6c7c80e
Merge pull request #23651 from woocommerce/update/register-rest-routes
Set register_rest_route override to TRUE in Blocks REST API
2019-05-22 20:49:15 -03:00
Claudio Sanches 359fd9d7d5
Merge pull request #23791 from woocommerce/fix/23630
Clear notices when calling cart-errors.php template
2019-05-22 20:40:21 -03:00
Claudio Sanches 91a8592ebb Fixed conditional logic 2019-05-22 20:16:10 -03:00
Claudio Sanches c92968582c
Merge pull request #23431 from dimadin/fix/remove-tax-rates-from-locale-info
Remove tax rates from locales information
2019-05-22 20:13:31 -03:00
Claudio Sanches 688d35e206
Merge pull request #23562 from benhuson/update/23558-related-product-order
Update/23558 Related product order
2019-05-22 19:59:25 -03:00
Claudio Sanches 3cc3565e61
Merge pull request #23774 from connorhu/patch-1
fixed availability schema protocol
2019-05-22 18:07:05 -03:00
Claudio Sanches b55d0c9fe3
Merge pull request #23793 from grey-rsi/rest-api-catch-exceptions
Catch WC_REST_Exception in hooks inside WC_REST_CRUD_Controller
2019-05-22 12:04:41 -03:00
Gerhard f6d9faa062 Introducde wc_load_cart to dynamically load the cart, this allows for functionality outside of frontend to initialise the cart. 2019-05-22 12:24:31 +02:00
sergey.r 98586f10f4 Catch WC_REST_Exception while calling do_action( "woocommerce_rest_insert_{$this->post_type}_object" 2019-05-22 13:00:34 +03:00
Gerhard 3a49e7a53b Clear notices after calling checkout/cart-errors.php to avoid duplicate notices on the cart page. cart-errors.php does not output notices but a general notice message yet error notices are still enqueued before calling the template. 2019-05-22 09:49:53 +02:00
ajayghaghretiya f42b5a5f37 Fix #23784 Shipping zonde UI issue 2019-05-22 11:27:46 +05:30
Paul Sealock f7e56be638 Tracks: set cookie on admin_init 2019-05-22 12:14:28 +12:00
Claudio Sanches 196d5e77cb
Merge pull request #23041 from woocommerce/update/21701
Add hooks for helper subscription changes
2019-05-21 18:27:15 -03:00
Mike Jolley ec5ddd2387 Dynamically generate comment form fields and respect require_name_email option 2019-05-21 18:23:53 -03:00
Claudio Sanches 4376ee6e7c
Merge pull request #23038 from woocommerce/fix/23003
Show qty refunded on order views for customers
2019-05-21 18:22:15 -03:00
Paul Sealock c74d5b30ca Tracks: use woocommerce_apply_user_tracking and woocommerce_apply_tracking 2019-05-22 09:18:34 +12:00
Claudio Sanches 576182e44d Bump version of templates 2019-05-21 18:00:52 -03:00
Claudio Sanches de2a45510b Merge branch 'master' into fix/23003 2019-05-21 17:59:52 -03:00
Claudio Sanches edd0e7de8c Bump template versions 2019-05-21 17:53:03 -03:00
Claudio Sanches 22f9cdcb0d Allow {woocommerce} placeholder in lowercase 2019-05-21 17:47:54 -03:00
Claudio Sanches 4a99a11009 Merge branch 'master' into update/22895 2019-05-21 17:46:16 -03:00
Claudio Sanches fbe455f78c
Merge pull request #23633 from woocommerce/renovate/eslint-plugin-wpcalypso-4.x
Update dependency eslint-plugin-wpcalypso to v4.1.0
2019-05-21 17:25:32 -03:00
Rodrigo Primo 870ea9a935
Merge pull request #23704 from woocommerce/fix/23703
Fixed number of args for woocommerce_valid_order_statuses_for_cancel
2019-05-21 17:24:43 -03:00
Claudio Sanches bd36434174 Use WP 5.0 determine_locale() function 2019-05-21 17:19:50 -03:00
Rodrigo Primo fbdfb7b87f
Merge pull request #23468 from woocommerce/update/23366
Return WP_Error messages from wp_insert_user()
2019-05-21 17:10:32 -03:00
Rodrigo Primo ae50379f7e
Merge pull request #23325 from woocommerce/fix/rest-api-purge-invalid-orders
[REST API] Stop orders being created if invalid data is sent
2019-05-21 16:36:04 -03:00
Rodrigo Primo 5a15713f95
Merge pull request #23207 from woocommerce/update/23205
Introduce `parse_published_field` in CSV importer
2019-05-21 16:24:03 -03:00
Rodrigo Primo c21a69ff6d Complement WC_Product_CSV_Importer::parse_published_field() phpdoc
Add a phrase to WC_Product_CSV_Importer::parse_published_field() phpdoc
to note that 'true' and 'false' are also supported to set product
published status.
2019-05-21 15:55:41 -03:00
Rodrigo Primo 3fed0d7cbc
Merge pull request #23112 from woocommerce/fix/persistent-cart-filter
Persistent cart improvements
2019-05-21 15:07:55 -03:00
Claudio Sanches 3936518e64
Merge pull request #23754 from Spreeuw/patch-9
Plain text email: check if product exists before calling get_sku()
2019-05-21 12:48:23 -03:00
Rodrigo Primo e8844a916d
Merge pull request #23748 from woocommerce/update/obw
Onboarding wizard cleanup
2019-05-21 08:07:20 -03:00
Ewout Fernhout aee539e034
declare plain text email variables 2019-05-21 09:18:45 +02:00
Karoly Gossler a135f02f41
fixed availability schema protocol
As you can see in the example, the scheme only can be on http:
https://schema.org/InStock
The Google Search console has also marked it invalid.
2019-05-21 09:10:56 +02:00
Iulia Cazan 051277d26e Rename the hook 2019-05-21 09:20:46 +03:00
Iulia Cazan 1187563c93 Transform the filter into action, rewrite the piece of code to pass the coding standards, remove markup restriction. 2019-05-21 09:18:15 +03:00
Gerhard 70231461b2 Refactor logic for passing no_shipping, it should only be passed when no shipping items are available. 2019-05-21 08:11:36 +02:00
Paul Sealock ca4e79bdd1 Tracks: Add check for OBW is-opting-in 2019-05-21 12:20:25 +12:00
Claudio Sanches 8af5117bf4 Fixed unit tests and coding standards 2019-05-20 17:27:25 -03:00
Claudio Sanches a2301dc0cb Removed deprecated PHPCS flags 2019-05-20 17:06:41 -03:00
Claudio Sanches 5eaf71b483 Fixed coding standards 2019-05-20 17:04:24 -03:00
Claudio Sanches cc6d7996fd Restored WC_Shortcode_Products::order_by_rating_post_clauses 2019-05-20 16:57:14 -03:00
Gerhard 8332bed7bc Do not pass no_shipping when not using send shipping address options in paypal, it still needs to use the billing details. 2019-05-20 14:59:48 +02:00
Peter Fabian 91839ce078 Moved the JS enqueue from get_instance_form_fields to admin_footer action hook.
This should prevent multiple enqueues.
2019-05-20 12:56:01 +02:00
Mindaugas Budreika d67381148a Forward query (GET) parameters when executing a batch REST API request. 2019-05-20 14:24:48 +04:00
jorgept e214a85a8c
Update class-wc-countries.php
Add MZ array
postcode => false, 
hidden => true
2019-05-19 22:23:36 +01:00
Ibrahim 0db84aec56
Fixes #23756 2019-05-18 21:04:13 +05:30
Ewout Fernhout 5089c93969
coding standards 2019-05-18 16:36:34 +02:00
Ewout Fernhout 3819350aaa
remove stray parenthesis 2019-05-18 15:51:18 +02:00
Ewout Fernhout edce5277e5
check if product exists before calling get_sku() 2019-05-18 15:43:04 +02:00