Commit Graph

34461 Commits

Author SHA1 Message Date
Peter Fabian 4cfe22eef9 Made the attribute value comparison strict. 2019-10-02 16:05:44 +02:00
vedanshujain 9d8513ac41 Add change logs for a bunch of PRs. 2019-10-02 19:29:20 +05:30
Gerhard Potgieter c01a0916c3
Merge pull request #24559 from itzmekhokan/fix/24458
Fix backordered product missing backordered label on frontend
2019-10-02 15:28:26 +02:00
Vedanshu Jain f15353cce5
Merge pull request #24745 from woocommerce/fix/24489
Also consider refunded item quantity while increasing stock.
2019-10-02 18:39:03 +05:30
Peter Fabian 7ea9fdec62 Added unit test for special case of attribute value 0. 2019-10-02 15:06:22 +02:00
Peter Fabian e45fe949c1 Added unit test & updated other affected tests. 2019-10-02 14:59:42 +02:00
Peter Fabian 258e49a8de Allow attribute value 0 to work correctly with variations (especially add to cart and select variation). 2019-10-02 14:58:40 +02:00
Vedanshu Jain 98f8cf3c2c
Merge pull request #24741 from woocommerce/add-filter-to-get-european-union-countries
Add filter to the method WC_Countries::get_european_union_countries()
2019-10-02 18:26:01 +05:30
Vedanshu Jain 7081c64115
Merge pull request #24294 from woocommerce/fix/24106
Make WC_Product_Query capable to sort products by "include" order
2019-10-02 18:02:06 +05:30
vedanshujain 88a5515b4d Add change logs for a bunch of PRs. 2019-10-02 17:45:11 +05:30
Vedanshu Jain 743d04fa91
Merge pull request #24749 from nicomollet/patch-5
Coupon expiry date tooltip to help understand behaviour
2019-10-02 17:30:45 +05:30
Vedanshu Jain bea65d43dc
Merge pull request #24699 from sisou/patch-1
Correct comments in stock increase methods
2019-10-02 17:27:10 +05:30
vedanshujain 3c7e74f72d Return early when diff is 0.
Earlier we were also update  `_reduced_stock` meta everytime, but we don't need to when diff is 0 because this means that everything is already consistent.
2019-10-02 17:24:16 +05:30
Nico Mollet 8365365037
Removed space at the end of the line 2019-10-02 13:42:26 +02:00
Vedanshu Jain 26794c12f2
Merge pull request #24738 from woocommerce/feature/24595
Introduced "woocommerce_output_cart_shortcode_content" filter
2019-10-02 15:57:42 +05:30
Vedanshu Jain 9641963001
Merge pull request #24740 from woocommerce/feature/24654
Make WC_Abstract_Order::recalculate_coupons() public
2019-10-02 15:56:36 +05:30
Vedanshu Jain 4fc18d4940
Merge pull request #24739 from woocommerce/fix/24610
Make $subtext more darker to improve accessibility
2019-10-02 15:49:21 +05:30
Nico Mollet 5bcc35c24e
Coupon expiry date tooltip to help understand behaviour
Help understand if the date is included or excluded
2019-10-02 11:48:15 +02:00
Vedanshu Jain 7bb1a0babd
Merge pull request #24536 from nikhil-webkul/patch-3
Add back post type count to system status report
2019-10-02 14:47:48 +05:30
Vedanshu Jain 2188f9b788
Merge pull request #24341 from woocommerce/fix/24238
Check for max discount to be -ve to prevent overwriting fee.
2019-10-02 14:32:15 +05:30
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