vedanshujain
d2d0bf8466
Also consider refunded item quantity while increasing stock.
...
When updating an order, we call `wc_maybe_adjust_line_item_product_stock` to see if any item stock needs adjusting. We were not considering if an item has been refunded, which was causing incorrect stock adjustments.
This fix also takes in to account that an order has been refunded partially or fully.
Fixes #24489
2019-10-02 13:42:19 +05:30
Gerhard Potgieter
52cd7370b3
Merge pull request #24722 from woocommerce/fix/wpml-homepage-compatibility
...
Geolocation home URL WPML compatibility
2019-10-02 09:31:09 +02:00
Gerhard Potgieter
4ab9f396cf
Merge pull request #24743 from woocommerce/renovate/husky-3.x
...
Update dependency husky to v3.0.8
2019-10-02 09:30:22 +02:00
Gerhard Potgieter
db539803bf
Merge pull request #24737 from woocommerce/fix/24594
...
Fixed description of failed order email
2019-10-02 08:43:29 +02:00
Vedanshu Jain
487b510953
Merge pull request #24690 from woocommerce/add/wccom-installer-requirements-check-rest-api-endpoint
...
Add WCCOM requirements check to /installer REST API endpoint
2019-10-02 09:30:28 +05:30
Renovate Bot
b4791cc5af
Update dependency husky to v3.0.8
2019-10-02 01:48:03 +00:00
Claudio Sanches
3c92523d92
Fixed comments orderby
2019-10-01 18:04:18 -03:00
Rodrigo Primo
1457de1c14
Add filter to the method WC_Countries::get_european_union_countries()
...
This commit adds a filter called `woocommerce_european_union_countries`
to the method WC_Countries::get_european_union_countries(). This is to
let third party code to customize the list of countries returned by the
method.
2019-10-01 17:25:28 -03:00
Claudio Sanches
8c88cd9b6f
Make WC_Abstract_Order::recalculate_coupons() public
2019-10-01 17:19:33 -03:00
Rodrigo Primo
80c4793c18
Merge pull request #24311 from woocommerce/fix/24053
...
Use non-breaking space for product quantity in templates
2019-10-01 17:08:43 -03:00
Rodrigo Primo
e2afc162c4
Merge pull request #24296 from woocommerce/fix/23900
...
Restored Photoswipe custom styles
2019-10-01 16:57:44 -03:00
Rommel Castro
4fabaed498
Implements WC_WCCOM_Site_Installer_Requirements_Check::met_requirements() validation on GET /install
2019-10-01 13:45:30 -06:00
Rodrigo Primo
011f855306
Merge pull request #24736 from woocommerce/renovate/cross-env-6.x
...
Update dependency cross-env to v6.0.2
2019-10-01 16:21:30 -03:00
Gerhard Potgieter
1b9a38f662
Merge pull request #24542 from woocommerce/feature/24541
...
Allow override payment token classes
2019-10-01 21:09:12 +02:00
Claudio Sanches
064a1657a7
Make $subtext more darker to improve accessibility
2019-10-01 15:30:05 -03:00
Claudio Sanches
acc57ec853
Introduced "woocommerce_output_cart_shortcode_content" filter
2019-10-01 14:28:31 -03:00
Renovate Bot
2a5e513b8c
Update dependency cross-env to v6.0.2
2019-10-01 17:05:51 +00:00
Claudio Sanches
3d73025fa4
Fixed description of failed order email
2019-10-01 13:55:45 -03:00
Claudio Sanches
e85b405e97
Fixed method name
2019-10-01 12:30:29 -03:00
Vedanshu Jain
b6238ce906
Merge pull request #24732 from woocommerce/update/jetpack-autoloader-renovate-config
...
Update autoloader package version and renovate config
2019-10-01 20:28:10 +05:30
vedanshujain
285287fa46
Update `woocommerce-blocks` to `2.4.2` and `composer/installers` to 1.7.0
...
woocommerce-blocks update was blocked by jetpack-autoloader conflict between woocommerce core and woocommerce-blocks. Now that this has been resolved in an earlier commit, woocommerce-blocks can be updated.
2019-10-01 19:00:08 +05:30
Mike Jolley
9e33495a46
Update composer lock file
2019-10-01 14:18:13 +01:00
Mike Jolley
63aab96e70
Update renovate config to bump versions but avoid pins
2019-10-01 14:18:03 +01:00
Mike Jolley
98461cbf4e
Update autoloader version to use ranges
2019-10-01 14:17:46 +01:00
vedanshujain
12055ed178
Add change logs for a bunch of PRs.
2019-10-01 16:56:05 +05:30
Vedanshu Jain
4593f523fd
Merge pull request #24730 from woocommerce/update/php-wp-recommended
...
Bump PHP and WP recommended versions
2019-10-01 16:05:07 +05:30
Gerhard
414d31d191
Bump PHP recommended version to 7.0 and WP recommended version to 5.0
2019-10-01 12:21:51 +02:00
Gerhard Potgieter
59c72a183e
Merge pull request #24728 from woocommerce/renovate/lint-staged-9.x
...
Update dependency lint-staged to v9.4.1
2019-10-01 10:27:52 +02:00
Gerhard Potgieter
238cf456cf
Merge pull request #24727 from woocommerce/renovate/eslint-6.x
...
Update dependency eslint to v6.5.1
2019-10-01 10:27:03 +02:00
Renovate Bot
8d5ac6ac93
Update dependency lint-staged to v9.4.1
2019-10-01 05:23:02 +00:00
Renovate Bot
3b1ee14dd5
Update dependency eslint to v6.5.1
2019-10-01 01:54:05 +00:00
Rommel Castro
6567271840
Update status error to 400
2019-09-30 18:31:23 -06:00
Rommel Castro
803f3e6cc6
Implements WC_WCCOM_Site_Installer_Requirements_Check::met_requirements() validation on POST /install
2019-09-30 15:20:11 -06:00
Rommel Castro
67091782f8
Includes WC_WCCOM_Site_Installer_Requirements_Check class
2019-09-30 15:15:11 -06:00
Rommel Castro
6e5210657b
Adds WC_WCCOM_Site_Installer_Requirements_Check class
2019-09-30 15:14:52 -06:00
Vedanshu Jain
7222f982e2
Merge pull request #24440 from woocommerce/fix/24421
...
Updated wording of subtotal of items in cart and review order
2019-09-30 20:40:53 +05:30
Gerhard
6d09d0efcf
Fix OWB sell in person vertical alignment
2019-09-30 19:31:50 +05:30
Gerhard
97d3874e14
Fix OBW country vertical alignment
2019-09-30 19:31:50 +05:30
Gerhard Potgieter
ee1b438c3c
Merge pull request #24517 from woocommerce/fix/24511
...
Control categories export field based on export type
2019-09-30 15:39:21 +02:00
Gerhard Potgieter
87fa4be2d6
Merge pull request #24634 from woocommerce/renovate/automattic-jetpack-autoloader-1.x
...
Update dependency automattic/jetpack-autoloader to v1.3.2
2019-09-30 15:37:01 +02:00
Gerhard Potgieter
fdbdb5c73a
Merge pull request #24677 from woocommerce/fix/illegal-offset-bug
...
Small refactor in WC_Order methods to get formatted address
2019-09-30 15:00:34 +02:00
Gerhard Potgieter
da5bbe26c6
Merge pull request #24696 from woocommerce/fix/i18n-replacement-for-blocks
...
Fix missing translations for WooCommerce Blocks
2019-09-30 15:00:00 +02:00
Gerhard
9e3cb22dff
Fix WPCS for #24657
2019-09-30 14:51:51 +02:00
Miguel Pinto
1d5809e5b2
Update class-wc-frontend-scripts.php
2019-09-30 14:51:30 +02:00
Miguel Pinto
f2e23add73
code standards for fix with wpml
2019-09-30 14:51:30 +02:00
Miguel Pinto
c32b95579a
Fix for compatibility with WPML
...
With WPML, query parameter lang is added on home_url which means that geolocalization.min.js will not find any href with that query parameter. We need to remove this parameter from the home_url, otherwise it will not match the regex for the query in the JS function.
2019-09-30 14:51:29 +02:00
Gerhard Potgieter
c88396cd4c
Merge pull request #24694 from woocommerce/add-action-hook-to-products-tab
...
Add action hook after products tab
2019-09-30 14:49:24 +02:00
Gerhard
35ff7e3149
Bump @since for woocommerce_order_get_formatted_shipping_address and woocommerce_order_get_formatted_billing_address filters
2019-09-30 14:42:06 +02:00
Gerhard Potgieter
dec4a381fe
Merge pull request #24720 from ChromeOrange/master
...
Allow select fields in credit card form to maintain value when the checkout form refreshes
2019-09-30 14:36:16 +02:00
Gerhard Potgieter
27be925552
Merge pull request #24406 from kolyasapphire/add-applied_coupon-trigger-to-checkout
...
Add 'applied_coupon' trigger to checkout.js
2019-09-30 13:59:37 +02:00