Commit Graph

34303 Commits

Author SHA1 Message Date
Peter Fabian 7c81915d1c Update the uninstall routine to fix review issues.
- PHP version check should not be needed anymore, as WC core requires PHP 7.0+
- The uninstallation/cleanup is not aborted if WC Admin can't be loaded
- Replaced init() call by drop_tables() call, as that's what probably needs to happen
2020-02-06 12:02:55 +01:00
Peter Fabian ee865fe0b4
Merge pull request #25504 from woocommerce/update/order-detail-summary
Enhance order details and payment summary
2020-02-06 11:40:45 +01:00
Claudio Sanches 4de580dca8
Merge pull request #25573 from mgibbs189/master
Adds a `woocommerce_shortcode_products_query_results` hook
2020-02-05 18:42:06 -03:00
Christopher Allford 827458f500
Merge pull request #25584 from woocommerce/add/SSR-include-new-packages
Added info about packages to System Status Report
2020-02-05 13:22:29 -08:00
Christopher Allford 6ca7b9fa4a
Merge pull request #25382 from smachi/master
Improved performance when saving variations
2020-02-05 13:14:13 -08:00
Peter Fabian 5c23d013d7 Added info about packages to System Status Report. 2020-02-05 21:54:05 +01:00
Rodrigo Primo 44ecb0ec9e Only display the "Paid by customer" section if the order has been paid
This commit changes the condition in the if the statement that decides
whether or not to display the "Paid by customer" section in the order admin
page. Before it, this section was displayed for all orders that
contained one of the following statuses: 'processing', 'completed' or 'refunded'.

The problem with this approach is that offline payment gateways, like
'Cash on Delivery', set the order status to processing when the order is
placed but before the customer pays for it. So the "Paid by customer"
section was being displayed in some cases where the order was not
actually paid yet creating a confusing experience to store managers.

To fix this, this commit also checks for the presence of the
`_date_paid` order meta. If this order meta is present and the order
status corresponds to one of the three statuses listed above, it means that
the order has been paid and we can display the "Paid by customer"
section. If this order meta is not present, we don't display the "Paid
by customer" section.
2020-02-05 16:08:13 -03:00
Rodrigo Primo 7c9d6110e2 Fix typo in code comment 2020-02-05 15:48:40 -03:00
Peter Fabian d3a33f8d05
Merge pull request #24943 from woocommerce/refactor/eu-vat-brexit
Brexit and VAT refactor
2020-02-05 19:41:40 +01:00
Peter Fabian b385404861 Fixed deprecated since version. 2020-02-05 19:18:08 +01:00
Matt Gibbs f57f1c6293
Requested commenting & hook tweaks 2020-02-05 13:08:40 -05:00
Christopher Allford 92708dde1f
Merge pull request #25512 from woocommerce/fix/25438.2
Fixed unnecessary loading when constructing COD payment gateway
2020-02-05 10:02:38 -08:00
Peter Fabian 46dd915044 Improve coupon notice handling. 2020-02-05 18:50:40 +01:00
Peter Fabian 5ba2cdafa5
Merge pull request #25183 from om4james/webhook-de-duplication
Fix for Duplicate Webhook deliveries
2020-02-05 18:38:15 +01:00
Claudio Sanches f25967d57b
Merge pull request #25581 from gerdneuman/patch-2
Remove stale .order-actions css
2020-02-05 14:20:33 -03:00
Peter Fabian fe9a5be828
Merge pull request #25528 from woocommerce/update/wccom-installer-api-authentication
Use query params as fallback for obtaining authentication data in plugin installer API
2020-02-05 18:13:06 +01:00
Claudio Sanches 805d499649 Merge branch 'master' into try/add-wc-admin 2020-02-05 14:09:03 -03:00
Peter Fabian 83ac6adfb9
Merge pull request #25574 from woocommerce/update/makepot
Use WP-CLI i18n command instead of legacy grunt packages
2020-02-05 18:02:20 +01:00
Peter Fabian a438c3548e Install i18n during e2e tests
This should make npm run build succeed again.
2020-02-05 17:16:00 +01:00
Claudio Sanches 5b9937ad48 Merge branch 'master' into try/add-wc-admin 2020-02-05 13:02:51 -03:00
Christopher Allford 8140f7e0a1 Extracted shipping method loading for COD field into its own method 2020-02-05 06:59:02 -08:00
Claudio Sanches 545a74fe64 Fixed coding standards 2020-02-05 11:55:19 -03:00
Christopher Allford 2f024ff024 Added tab check to COD gateway options loading 2020-02-05 06:49:33 -08:00
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