louwie17
2471f816e4
Merge pull request #29093 from woocommerce/update/28570_widget_stock_links
...
Update the woo widget stock links to new analytics page
2021-02-17 09:35:50 -04:00
Peter Fabian
ded1c15699
Merge pull request #29150 from woocommerce/fix/contributor-guidelines
...
Fix/contributor guidelines
2021-02-17 09:04:32 +01:00
James Allan
264bccf505
Prevent displaying coupon form on checkout requiring login
2021-02-17 11:42:30 +10:00
barryhughes
4a78f13958
Spacing
2021-02-16 12:43:18 -08:00
barryhughes
97c4e42610
Correct the external packages list (remove REST API, add WC Admin) | spotfix
2021-02-16 12:40:27 -08:00
Claudio Sanches
6fae8ca40b
Merge pull request #29146 from woocommerce/fix/27290-rest-api-order-updates
...
Throw an error if a coupon item ID (readonly) is specified during an order update | #27290
2021-02-16 17:04:49 -03:00
barryhughes
f79b3f9120
Supporting tests for handling coupon-related order updates (via REST API) | #27290
2021-02-16 10:28:46 -08:00
Mário Valney
323fc32959
Added esc_attr to selected like before
2021-02-16 15:01:07 -03:00
barryhughes
24e0191dc7
Throw a 400 error if a coupon item ID (readonly) is posted/put during an order update | #27290
2021-02-16 09:59:03 -08:00
Mário Valney
9a8cbfbd73
Support to optgroups on select from Settings API
...
Add the optgroups support to single select from Settings API.
The multiselect input already has this feature.
2021-02-16 14:49:25 -03:00
jonathansadowski
f6054ab059
Merge pull request #29115 from woocommerce/fix/27434
...
Fix wrong taxonomy caching in term and product attributes controllers
2021-02-16 10:50:28 -06:00
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