Commit Graph

31618 Commits

Author SHA1 Message Date
Gerhard aadc7a1069 Add todo 2019-05-15 11:23:41 +02:00
Gerhard 8ed1a647bc Restore backward compatibility meta_key for coupon date_expires. @todo: migrate expiry_date in next release to date_expires 2019-05-15 11:21:52 +02:00
Gerhard 3d57a4b474 Use WC_Cache_Helper::get_cache_prefix for prefixing webhook count cache, fixes issue with cache not clearing when incrementing the prefix. 2019-05-15 10:47:50 +02:00
sokolby cb9f765eb2 Fix prefix filter name 2019-05-15 11:44:54 +03:00
Renovate Bot 0d272fddc3
Update dependency lint-staged to v8.1.7 2019-05-15 05:18:04 +00:00
Rodrigo Primo 47188f05cb Fix unit tests after changes in the default enabled payment gateways 2019-05-14 19:46:38 -03:00
Rodrigo Primo c8b55ff62d Improve WC_Admin_Setup_Wizard::get_wizard_in_cart_payment_gateways() tests
This commit moves two functions declared inside a test method to their
own protected methods inside the same test class to make it easier to
read the tests and it fixes the order of the parameters for the calls to
Assert::assertEquals(). The first parameter passed to this method should
be the expected value and the second parameter should be the actual
value and not the opposite.
2019-05-14 18:38:53 -03:00
Rodrigo Primo ba792a6589 Fix PHPCS errors 2019-05-14 18:34:21 -03:00
Claudio Sanches a0e5234be2
Merge pull request #23706 from woocommerce/renovate/husky-2.x
Update dependency husky to v2.3.0
2019-05-14 17:50:51 -03:00
Renovate Bot fcffed6929
Update dependency husky to v2.3.0 2019-05-14 16:46:03 +00:00
Claudio Sanches 836083c064 Fixed number of args for woocommerce_valid_order_statuses_for_cancel 2019-05-14 12:52:54 -03:00
Andrey Barashkov 58132056bd
Add Filter for wc_prices_include_tax() function return
It's great to have a filter, because there are some scenarios when it is necessary to create custom logic for displaying prices.
2019-05-14 13:14:50 +03:00
Gerhard Potgieter b7facc0674
Merge pull request #23663 from danielbitzer/add_get_coupons_method
Add WC_Abstract_Order::get_coupons()
2019-05-14 11:35:21 +02:00
Gerhard 486321161c Update usage of get_used_coupon_codes to get_coupon_codes 2019-05-14 11:21:27 +02:00
Gerhard efe3e4c5d6 Move get_used_coupons to WC_Abstract_Legacy_Order and renamed get_used_coupon_codes to get_coupon_codes. 2019-05-14 11:19:48 +02:00
Daniel Bitzer 3024043bb4 Add unit test for WC_Abstract_Order::get_coupons() 2019-05-14 15:46:49 +09:30
Daniel Bitzer 0705730121 Add WC_Abstract_Order::get_coupons() 2019-05-14 15:46:48 +09:30
Gerhard b694efcb63 Klarna should not be featured. 2019-05-14 07:36:15 +02:00
Gerhard e131b01133 Modify payment gateway placement, defaults and new logos. 2019-05-13 15:54:44 +02:00
Gerhard 5ceca30f39 CSS changes to remove black backround from old klarna and square logos. 2019-05-13 15:52:48 +02:00
Gerhard 31acfbcb4a Deprecate WC_Abstract_Order::get_used_coupons in favor of WC_Abstract_Order::get_used_coupon_codes, this reflects the actual data being returned better. 2019-05-13 14:40:54 +02:00
Gerhard Potgieter 3755b23db5
Merge pull request #23680 from hexboy/fix-woocommerce_shop_loop-hook
WC_Structured_Data::generate_product_data() no more hooked in to woommerce_shop_loop  action, which has been removed in #22912
2019-05-13 14:18:27 +02:00
Gerhard b79c02658d Fix eslint for meta-boxes-product-variation.js 2019-05-13 13:36:21 +02:00
Gerhard b77c7fbbd8 Trigger input_changed function when download files removed for variations. 2019-05-13 13:32:30 +02:00
Gerhard 36cab83d76 Update out of stock dashboard widget to use same query as in reporting, this only counts published products. 2019-05-13 11:02:50 +02:00
Hassan Yousefi a50464d781 WC_Structured_Data::generate_product_data() no more hooked in to woocommerce_shop_loop ,which has been removed in #22912 2019-05-11 20:45:54 +04:30
Claudio Sanches f4e7ffd180
Merge pull request #23653 from parmarhardip/enhance-23649
#23649 I have added the filter into the out of stock message in varia…
2019-05-10 12:51:12 -03:00
Claudio Sanches c96ed877af
Merge pull request #23660 from gocodebox/master
add filter to allow disabling endpoint 404 behavior, per #23622
2019-05-10 12:50:29 -03:00
Gerhard Potgieter 292650ee63
Merge pull request #23538 from Mahjouba91/issue/23537
Add a woocommerce_before_thankyou hook, Fix Issue/23537
2019-05-10 11:45:24 +02:00
Gerhard Potgieter 07941afacd
Merge pull request #23532 from Mahjouba91/patch-1
When the user did not added any address on its account, change wording to "Add" instead of "Edit" in the link
2019-05-10 11:42:48 +02:00
Gerhard Potgieter 249ee5ecda
Merge pull request #23478 from woocommerce/fix/23476
Force delete rather than trash variations on product type change
2019-05-10 11:41:14 +02:00
Gerhard Potgieter a228975801
Merge pull request #23671 from woocommerce/fix/wc-tracker-order-totals
Corrects WC Tracker's order total calculation.
2019-05-10 11:23:55 +02:00
Gerhard Potgieter 64a76ea0fa
Merge pull request #23666 from woocommerce/update/wc-update-cli-db-version
WC Update CLI DB Version
2019-05-10 11:21:58 +02:00
Gerhard Potgieter b9a75c474a
Merge pull request #23579 from n-dawson/fix-23578
Fixes #23578 - Check taxes enabled before adding totals row to order
2019-05-10 11:21:19 +02:00
Gerhard Potgieter 32769d0d76
Merge pull request #23625 from woocommerce/fix/23549
Use attribute's orderby option to sort terms in product's edit screen
2019-05-10 11:19:08 +02:00
Gerhard Potgieter 18e2332cfc
Merge pull request #23590 from woocommerce/fix/23587
Stock sorting issue when Yoast installed
2019-05-10 11:17:26 +02:00
Gerhard Potgieter 8c665d6572
Merge pull request #23615 from parmarhardip/23596
#23596 - I have solve this issue.
2019-05-10 11:16:06 +02:00
Gerhard Potgieter 3d017856e9
Merge pull request #23617 from woocommerce/fix/23606
Fix system status connected to woocommerce.com status
2019-05-10 11:13:11 +02:00
Gerhard Potgieter 902cc1f0b0
Merge branch 'master' into fix/23606 2019-05-10 11:12:54 +02:00
Gerhard Potgieter 46bcf42559
Merge pull request #23611 from woocommerce/fix/23583
Prevents undefined offset for empty arrays in wc_change_get_terms_defaults
2019-05-10 11:02:13 +02:00
Gerhard Potgieter 364093056d
Merge pull request #23580 from woocommerce/report-bug-link
Change the link of the "Report a bug" button
2019-05-10 10:59:24 +02:00
Gerhard Potgieter 0e80030f0b
Merge pull request #23601 from woocommerce/fix/23547
Fix to show WC plugin updates in System status report
2019-05-10 10:57:47 +02:00
Gerhard Potgieter 984357fb41
Merge pull request #23597 from woocommerce/fix/23509
Added confirmation before saving empty list of countries to sell to.
2019-05-10 10:56:13 +02:00
Gerhard Potgieter 0cdf432aec
Merge pull request #23551 from garrett-eclipse/typos
Minor Typos
2019-05-10 10:50:28 +02:00
Gerhard Potgieter 6fc498e0d9
Merge pull request #23528 from parmarhardip/23521
Fixes #23521 - Billing Email and Country now autofill for newly regis…
2019-05-10 10:48:13 +02:00
Gerhard Potgieter 3cfe32d5fe
Merge pull request #23526 from parmarhardip/23505
Solved #23505 WC Setup page UI issue
2019-05-10 10:45:55 +02:00
Gerhard Potgieter d2c7d8c86e
Merge pull request #23535 from woocommerce/fix/23518
Fix: parameter values should be converted back as well when building form fields
2019-05-10 10:43:28 +02:00
Gerhard Potgieter ab90cefad4
Merge pull request #23519 from woocommerce/fix/OBW-tracks-scripts
Tracks: Fix OBW scripts
2019-05-10 10:41:37 +02:00
Gerhard Potgieter 81bfb9cacb
Merge pull request #23529 from woocommerce/update/23512
Define $wpdb tables as early as possible, before init
2019-05-10 10:38:15 +02:00
Gerhard Potgieter 07ea25377a
Merge pull request #23517 from woocommerce/fix/23506
Fix dismiss button in two WC admin notices
2019-05-10 10:37:01 +02:00