Commit Graph

38185 Commits

Author SHA1 Message Date
Claudio Sanches e4b2b72e95
Merge pull request #29136 from woocommerce/fix/25510-billing-address-2
Only add '(optional)' to the billing_address_2 placeholder | #25510
2021-02-16 13:32:50 -03:00
artpi cca06857e9 Fix tests 2021-02-16 16:19:55 +01:00
artpi dc7410b6b3 Extra protections 2021-02-16 15:51:49 +01:00
Nestor Soriano 9ef18fea0e Change the calculate_refund_amount_from_line_items method
to return the calculated amount instead of setting it in the request.
2021-02-16 15:44:51 +01:00
artpi 774d7e38cd Better url parsing 2021-02-16 15:09:23 +01:00
Peter Fabian deec7f9242
Merge pull request #29143 from woocommerce/better-test-running-instructions
README: Better instructions for running tests db
2021-02-16 11:23:36 +01:00
artpi 3ffeeea8e4 Add a few tests 2021-02-16 10:52:34 +01:00
artpi 0b076fb9c1 Fix to treat absolute local paths as relative ones 2021-02-16 10:40:14 +01:00
artpi d97bfaed4f Better instructions for running tests db 2021-02-16 10:21:13 +01:00
Vedanshu Jain 8eea519654
Merge pull request #29140 from woocommerce/fix/actions
Yoda conditions, you must not use.
2021-02-16 14:07:53 +05:30
Nestor Soriano 436a3db6e4 Fix code standards errors 2021-02-16 09:23:50 +01:00
vedanshujain eefb3a4c0d Yoda notation, you must not follow.
Syntax will fail, for GH actions.
2021-02-16 13:23:27 +05:30
vedanshujain f31befd6fe Whitespace change to trigger tests. 2021-02-16 13:14:08 +05:30
roykho ab97be1e98
Fix placeholder image height in cart closes #29137 2021-02-15 19:50:30 -08:00
Ron Rennick 9e55856875 add missing update params 2021-02-15 23:27:22 -04:00
Moon 3707764736 Add tracking to WooCommerce Status widget -- net-sales, order-processing, orders-on-hold, low-stock, and out-of-stock 2021-02-15 16:41:14 -08:00
jonathansadowski ea7c6700bc
Merge pull request #29133 from woocommerce/fix/notice
Check if index value is set before accessing
2021-02-15 16:55:37 -06:00
barryhughes 8f74a25998 Remove esc_attr() (not an attribute, plus escaping is applied later in request) | #25510 2021-02-15 14:15:48 -08:00
barryhughes 1bd9a7e939 Only add '(optional)' to the billing_address_2 placeholder | #25510 2021-02-15 13:49:28 -08:00
Ron Rennick ff79153dd5 add product links collections 2021-02-15 16:59:11 -04:00
Christopher Allford 949019f662
Merge pull request #29120 from woocommerce/fix/issue-29119
Wrap variables in recent SASS format closes #29119
2021-02-15 10:45:08 -08:00
Ron Rennick 84f5223dd5 add related and upsell ids 2021-02-15 14:44:40 -04:00
Ron Rennick 653ca39121 add remaining single value props to abstract product 2021-02-15 14:15:37 -04:00
Claudio Sanches 74bb66dc6d
Merge pull request #27671 from mahmoudsaeed/master
Make WC_Tax::get_tax_rate_classes() public
2021-02-15 14:31:25 -03:00
Greg 3ad6a439e3
Merge branch 'master' into add/e2e-shopper-variable-product-updates 2021-02-15 08:20:22 -07:00
Greg 43a7d5d806
Merge branch 'master' into add/e2e-merchant-product-views 2021-02-15 08:19:52 -07:00
roykho 4fa0c81d11
Check if index value is set before accessing 2021-02-15 06:54:22 -08:00
Veljko 46655e83a2 Add timeout waits in tests 2021-02-13 09:59:14 +01:00
roykho 66155b978b
Wrap variables in recent SASS format closes #29119 2021-02-12 15:33:45 -08:00
hsing f333b373f6 Remove extra content wrapper 2021-02-12 17:50:48 -05:00
Claudio Sanches 7a71258257
Merge pull request #29094 from woocommerce/try/admin-menu-svg-icons
Use SVG and Dashicons instead of custom font for admin bar icons
2021-02-12 18:06:37 -03:00
Ron Rennick 18565bf8ee First pass at separating product properties into groups 2021-02-12 15:29:22 -04:00
Veljko fc3b342545 Update changelogs and comments 2021-02-12 18:19:48 +01:00
Tyler Paulson 812976c65c Correct function summaries in the WC_Shipping_Rate class 2021-02-12 12:12:27 -05:00
Veljko 2b0127f9e3 Fix flaky scenarios and improve code 2021-02-12 17:43:01 +01:00
Matt Sherman 6044f3e958 Update Products and Reports icons to use Dashicons instead of custom font 2021-02-12 10:37:23 -05:00
Veljko 1e26d880c1 Finalize test cases and scenarios 2021-02-12 16:10:23 +01:00
Nestor Soriano 4e195d5f3f Fix code sniffer errors. 2021-02-12 15:29:32 +01:00
Nestor Soriano 00d6dc40f7 Fix wrong caching of taxonomy in terms and attributes controllers.
The WC_REST_Terms_Controller and WC_REST_Product_Attributes_V1_Controller
classes have a get_taxonomy method that gets the name of the taxonomy
to process from a taxonomy id passed in the request, but once the
taxonomy name has been obtained it's cached and sbsequently reused.
The problem is that these controller instances are reused if more than
one request is processed programmatically, and thus the taxonomy that
was cached once is always used even if the new request specifies a
different taxonomy id.

The fix consists of using a dictionary of taxonomy id - taxonomy name
instead of one single taxonomy for caching.

In the case of WC_REST_Terms_Controller there's a protected $taxonomy
property that needs to be kept for compatibility, it's now set to
the last taxonomy name that has been introduced in the dictionary.
2021-02-12 15:12:58 +01:00
Veljko 7b42416718 Improve test and add new scenarios 2021-02-12 11:18:25 +01:00
Roy Ho b691947442
Merge pull request #29111 from woocommerce/update/woocommerce-admin/2.0.1
Update woocommerce admin package to 2.0.1
2021-02-11 20:49:18 -08:00
Takashi Kitajima 307a257781
Add translator comment #29008 2021-02-12 11:55:26 +09:00
Paul Sealock 13760d55a9 compser artifacts 2021-02-12 15:09:02 +13:00
Paul Sealock d2a71e3a11 bump to 2.0.1 2021-02-12 15:07:58 +13:00
Roy Ho 520c39dda2
Merge pull request #29016 from woocommerce/update/woocommerce-blocks-4.4.0
Update WooCommerce Blocks package to 4.4.x
2021-02-11 11:31:44 -08:00
Veljko e724f21f6d Update changelog and readme 2021-02-11 19:11:58 +01:00
Mike Jolley 11587a07b1 Blocks 4.4.3 2021-02-11 18:11:25 +00:00
Veljko 58b564f1cb Add new component for shipping zones 2021-02-11 19:05:50 +01:00
Mike Jolley 38ad7819df Bump to 4.4.2 2021-02-11 17:19:41 +00:00
Mike Jolley ff9d8e2b51 Cmposer update after rebase 2021-02-11 17:19:15 +00:00