Commit Graph

34043 Commits

Author SHA1 Message Date
Peter Fabian 147266f44f Updates to reflect PR feedback. 2020-02-04 21:43:29 +01:00
Claudio Sanches a94746e4aa Use WP-CLI to generate .pot file 2020-02-04 17:37:35 -03:00
Matt Gibbs e4e0755bbc
Adds a `woocommerce_shortcode_products_query_results` hook
This hook makes it easier to grab a shortcode's results (product IDs, pager data)
2020-02-04 15:01:56 -05:00
MD Sultan Nasir Uddin 95ef4544a2
Fix get_discount function return type (#25567)
* Fix get_discount function return  type
2020-02-04 16:59:26 -03:00
Claudio Sanches 6d123e0cc3 Tweaks on style inline method 2020-02-04 16:27:20 -03:00
Rodrigo Primo fb3b977a16 Add test to make sure that negative fees never make order total negative
For some reason unknown to me, the following commit added logic to make
sure that negative fees never make the order total negative: 804feb9333

Probably by accident, commit 4326e39250 changed this logic when `$fees_total += $item->get_total()` was replaced by `$fees_total += $fee_total`:

4326e39250 (diff-9b4164165828b26c4b7aec01c7b17884R1594)

This commit adds a failing test that ensures that the old behavior is
tested. This test needs to be fixed before we merge the changes proposed
in PR #25504.
2020-02-04 15:33:21 -03:00
Rodrigo Primo 08e0936aa6 Improve coverage of WC_Abstract_Order::calculate_totals() test
This commits improves the coverage of the
WC_Abstract_Order::calculate_totals() test by including a fee to the
order used to test the method.
2020-02-04 15:26:52 -03:00
Rodrigo Primo b87d0e26fe Add basic unit test for WC_Abstract_Order::get_total_fees() 2020-02-04 15:13:27 -03:00
Claudio Sanches 2d3db1d733
Merge pull request #25571 from woocommerce/revert-24271-update/avoid-ajax-request-on-checkout-page-load-2
Revert "Eliminate update order AJAX request on checkout page load"
2020-02-04 14:45:41 -03:00
Peter Fabian 5001e14086 Renamed Discounts to Coupons. 2020-02-04 18:27:53 +01:00
Claudio Sanches 6eb74eef8a
Merge pull request #25572 from woocommerce/update/25418
Bump template versions for #25418
2020-02-04 14:22:47 -03:00
Claudio Sanches 9e1738be70
Revert "Eliminate update order AJAX request on checkout page load" 2020-02-04 14:19:52 -03:00
Claudio Sanches 38237cabca
Merge pull request #25570 from woocommerce/revert-25521-fix/25493
Revert "Remove code that ignored the woocommerce_ship_to_destination option"
2020-02-04 14:19:08 -03:00
Claudio Sanches 7fe05d46e4
Revert "Remove code that ignored the woocommerce_ship_to_destination option" 2020-02-04 14:18:48 -03:00
Claudio Sanches 107995ab9a Bump template versions and fix coding standards 2020-02-04 14:16:07 -03:00
Claudio Sanches e0ee96cd37
Merge pull request #25418 from helgatheviking/feature/quantity-placeholders
Add support for placeholders in quantity inputs
2020-02-04 14:05:39 -03:00
Claudio Sanches f021a6559f
Merge pull request #25562 from woocommerce/fix/25560
Removed WC Admin from the Setup Wizard if it's already active.
2020-02-04 14:03:55 -03:00
Rodrigo Primo 5074bc5f1b
Merge pull request #25549 from woocommerce/renovate/wordpress-monorepo
Update dependency @wordpress/e2e-test-utils to v4.2.0
2020-02-04 14:00:47 -03:00
Claudio Sanches d237711b6e
Merge branch 'master' into fix/textdomain 2020-02-04 13:56:20 -03:00
Peter Fabian e5e5d5997e Better name for the new function. 2020-02-04 17:53:28 +01:00
Peter Fabian 0bd2730963
Merge pull request #25253 from rohanvakharia/master
Fixed the datatype for min_price & max_price size
2020-02-04 17:44:37 +01:00
Claudio Sanches f48f608682
Merge pull request #25569 from woocommerce/fix/textdomain-try
Textdomain update improvement
2020-02-04 13:39:11 -03:00
Claudio Sanches 6f37df1961
Merge pull request #25502 from woocommerce/fix/25488
[4.0] Remove wc-admin install nudge.
2020-02-04 13:19:57 -03:00
Claudio Sanches 3fa9c79d94 Remove old notice file 2020-02-04 13:17:36 -03:00
Claudio Sanches 94d1b742ad
Merge pull request #25545 from woocommerce/prep/after-3.9
Bumped versions for the upcoming release.
2020-02-04 13:05:27 -03:00
Claudio Sanches ab147f7a71
Merge pull request #25532 from woocommerce/update/wccom-helper-api-authentication
Add query params as fallback for passing authentication data to WC Helper API
2020-02-04 13:04:11 -03:00
Peter Fabian dadebd44a2 Included composer.lock with the update. 2020-02-04 15:52:55 +01:00
Peter Fabian b8a6e85936 Included wp_set_script_translations in the list of functions to update domain in. 2020-02-04 15:46:26 +01:00
Peter Fabian a48b2b53c0 Handle PHP files with wp-textdomain, JS files with sed. 2020-02-04 15:45:40 +01:00
Rohan V e2cb1dea73
Fix codestyle 2020-02-04 19:44:05 +05:30
Rohan Vakharia 4be33acd66
Merge branch 'master' into master 2020-02-04 19:23:22 +05:30
Peter Fabian 52e335ae5c
Merge pull request #25428 from woocommerce/update/product-lookuo-table-tax-columns
Add product lookup table tax columns
2020-02-04 14:20:50 +01:00
Peter Fabian 4a506ebcf7
Merge pull request #25530 from woocommerce/fix/country-region-label
Fix/country region label
2020-02-04 13:54:22 +01:00
Peter Fabian f57fef5bdd Updated unit tests. 2020-02-04 13:45:28 +01:00
Peter Fabian e971d14265 Updated the privacy-related strings as well. 2020-02-04 13:25:47 +01:00
Peter Fabian ef8498a5e5 Updated AS to version 3.0.1. 2020-02-04 11:42:37 +01:00
Peter Fabian 57917c8fa2
Merge pull request #25404 from woocommerce/update/action-scheduler-external
move action scheduler to external via composer
2020-02-04 11:39:48 +01:00
Renovate Bot dc91887fb0
Update dependency @wordpress/e2e-test-utils to v4.2.0 2020-02-04 08:24:20 +00:00
vedanshujain ee274be95a Modified "Country" to "country / Region" for more inclusiveness 2020-02-04 13:46:13 +05:30
Vedanshu Jain a85dc86978
Merge pull request #25540 from woocommerce/fix/25358
Find the correct form element to update.
2020-02-04 12:38:03 +05:30
Peter Fabian 7a24aaecd5 Updated versions to 4.0. 2020-02-03 23:36:52 +01:00
Peter Fabian d588218eb6 PHPCS 2020-02-03 23:18:12 +01:00
Peter Fabian 12fe0e6815 Corrected tax amount displayed in the summary. 2020-02-03 23:09:59 +01:00
Peter Fabian f9c9498e7c Replaced deprecated call with a substitute function. 2020-02-03 23:09:19 +01:00
Christopher Allford bf02776a3b Corrected inconsistent uses of the Constants library 2020-02-03 13:15:12 -08:00
Christopher Allford c5e1fc6c45 Merge remote-tracking branch 'origin/master' into refactor/add-jetpack-constants 2020-02-03 11:50:16 -08:00
Denis Dvali e496d6ea3f Adding doc comments to comply with coding standard. 2020-02-03 22:14:00 +03:00
Rodrigo Primo 23558b14c6
Merge pull request #25550 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.7.4
2020-02-03 14:59:09 -03:00
Rodrigo Primo e1bb5b59bf
Merge pull request #25554 from woocommerce/renovate/mocha-7.x
Update dependency mocha to v7.0.1
2020-02-03 14:46:04 -03:00
Rodrigo Primo bef92951bc
Merge pull request #25553 from woocommerce/renovate/husky-4.x
Update dependency husky to v4.2.1
2020-02-03 14:45:30 -03:00