Commit Graph

34943 Commits

Author SHA1 Message Date
Claudio Sanches 2d71041726 Removed old repository entry from composer.json 2020-02-05 11:43:48 -03:00
Claudio Sanches c79d457266 Merge branch 'try/add-wc-admin' of github.com:woocommerce/woocommerce into try/add-wc-admin 2020-02-05 11:43:06 -03:00
Claudio Sanches 2dbebdfb29 Updated deprecated message 2020-02-05 11:20:23 -03:00
Claudio Sanches f5d2c98c3e Updated unit test 2020-02-05 11:16:29 -03:00
Claudio Sanches 74768d8abd Remove test 2020-02-05 11:13:16 -03:00
Claudio Sanches aa9082d54d Fixed variable 2020-02-05 11:11:46 -03:00
Claudio Sanches 8b2651a353 Deprecated old method 2020-02-05 11:11:24 -03:00
Claudio Sanches 2b30c3179b Merge branch 'master' into update/makepot 2020-02-05 10:52:50 -03:00
Claudio Sanches fe3a38b6fb Replaced old "i18n" grunt task with new makepot script 2020-02-05 10:42:49 -03:00
Rodrigo Primo c1a7a08c01
Merge pull request #25525 from woocommerce/update/emogrifier
Use Emogrifier composer package
2020-02-05 10:14:57 -03:00
Rodrigo Primo f539d3e04b Merge branch 'master' into update/emogrifier 2020-02-05 10:01:38 -03:00
Rodrigo Primo ff05b06e6b Merge branch 'master' into update/emogrifier 2020-02-05 09:56:03 -03:00
Peter Fabian 87e42acd56
Merge branch 'master' into try/add-wc-admin 2020-02-05 13:02:20 +01:00
gerdneuman 687670fa03
Remove stale .order-actions css
Since commit d5b86259c5 (diff-035896b9dcfca6957109ff14ed262109L33-R33) the `.order-actions` css class was refactored to `woocommerce-orders-table__header-order-actions. So the deleted CSS would not match anyway.
2020-02-05 12:03:57 +01:00
Peter Fabian b0f6efebbb
Merge pull request #25566 from woocommerce/update/action-scheduler-3
Updated AS to version 3.0.1
2020-02-05 11:29:37 +01:00
Peter Fabian 12cdcee6ef
Merge pull request #25536 from woocommerce/fix/textdomain
Added wp-textdomain to fix Package's text domains
2020-02-05 11:27:08 +01:00
vedanshujain d19c470686 Add sanity test around order and customer permissions 2020-02-05 15:42:15 +05:30
vedanshujain 946aecae9e Show notice when logged in user pays for gues order 2020-02-05 15:42:15 +05:30
Jeff Stieler 213c7e0569 Use release version of WooCommerce Admin. 2020-02-04 16:07:32 -08:00
Jeff Stieler 540158dab1 Fix WP global override. 2020-02-04 16:04:27 -08:00
Jeff Stieler d51aab231e Fix unit tests.
Only require autoloader in uninstall if WooCommerce Admin class hasn't been loaded.
2020-02-04 16:04:27 -08:00
Jeff Stieler 3cf9d76ed4 Fix wc_admin_daily event schedule persistence.
Avoid an option update race condition.
2020-02-04 16:04:27 -08:00
Jeff Stieler 267d9254ed Load the WooCommerce Admin install class during uninstallation. 2020-02-04 16:04:27 -08:00
Jeff Stieler d78c045ac6 Alias a branch of wc-admin instead. 2020-02-04 16:03:15 -08:00
Paul Sealock b7a9056a59 cleanup 2020-02-04 16:01:57 -08:00
Paul Sealock 2619f37b51 phpcs errors 2020-02-04 16:01:57 -08:00
Paul Sealock 4380087608 wc-admin: Include package 2020-02-04 16:01:57 -08:00
Christopher Allford b9ceabaa52 Utilized the constants package to fix the failing tests 2020-02-04 15:50:23 -08:00
Christopher Allford 1d15df860e Merge branch 'master' into fix/25438.2 2020-02-04 15:06:26 -08:00
Christopher Allford dd49f89e77
Merge pull request #25516 from woocommerce/refactor/add-jetpack-constants
Replaced PHP Constants with Automattic\Jetpack\Constants use
2020-02-04 15:03:33 -08:00
Christopher Allford 57734ca8ce Merge branch 'master' into refactor/add-jetpack-constants 2020-02-04 14:36:35 -08:00
Christopher Allford 4ae1e1f5fc Extracted the repetitive Constants::get_constant( 'WC_VERSION' ) calls where possible 2020-02-04 14:02:57 -08:00
Garrett Hyder 3dd6489c69 Update Suggested Privacy Policy text to utilize css class instead of as it was deprecated. Also wrap the contents in the div to style the section to match WordPress. This follows from WPCoreTrac#49282 and although back-compat is being introduced in WP5.4 as of WPChangeset#47112 this change will better support users of WP5.1-5.4 2020-02-04 13:24:55 -08:00
Garrett Hyder 6295534fbb Adds support for group_description for privacy exporters which was added in WP5.3 through WPCoreChangeset#45825 and WPCoreTracTicket#45491 2020-02-04 12:57:31 -08:00
Claudio Sanches f9e0137068 Removed old grunt tasks and packages related to i18n 2020-02-04 17:44:32 -03:00
Claudio Sanches 24fd993ded Included descriptions for scripts 2020-02-04 17:44:20 -03:00
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