Renovate Bot
653a6ada16
Update dependency lerna to v3.22.1
2020-07-01 02:19:54 +00:00
Renovate Bot
ac809b9c9e
Update dependency deasync to v0.1.20
2020-07-01 01:55:43 +00:00
Renovate Bot
f4cae15563
Update babel monorepo to v7.10.4
2020-07-01 00:38:44 +00:00
Claudio Sanches
c3608f3b57
Merge pull request #26878 from woocommerce/fix/26787
...
Moved synchronous webhook execution into a shutdown function
2020-06-30 16:34:12 -03:00
Ron Rennick
15800b0e0b
add package build to build script
2020-06-30 16:32:33 -03:00
Claudio Sanches
0de1d4f9c0
Updated docblock
2020-06-30 13:32:11 -03:00
Claudio Sanches
54a94152ec
Map all deprecated keys in __isset()
2020-06-30 13:25:30 -03:00
Claudio Sanches
701490b13e
Apply suggestions from code review
...
Co-authored-by: Néstor Soriano <nestor.soriano@automattic.com>
2020-06-30 13:05:56 -03:00
Peter Fabian
7231c6addd
Merge pull request #26863 from woocommerce/update/wc-admin-1.3.0-rc.2
...
Bump wc-admin version 1.3.0-rc.2
2020-06-30 13:28:04 +02:00
Peter Fabian
64bbb09eb2
Merge pull request #26518 from lipemat/patch-1
...
Fix set cache loop when no attributes exist
2020-06-30 12:03:37 +02:00
Néstor Soriano
ca963af1b1
Merge pull request #26541 from jeffreyscottfrench/Fix--calc_shipping_country-default-value
...
Fixes #26540 - Set Select a country option value as default on shipping calculator
2020-06-30 10:35:19 +02:00
Néstor Soriano
3a77066262
Merge pull request #26554 from jeffreyscottfrench/Fix--select_country-default-value
...
Sets "Select a country / region..." option element's value attribute to default in checkout page.
2020-06-30 10:34:06 +02:00
imwatsi
8b8cccf402
Add Namibia regions
2020-06-29 22:07:31 +02:00
Néstor Soriano
cf64c40ace
Merge pull request #26611 from woocommerce/fix/25387
...
Fix stock status update when saving a variable product
2020-06-29 15:46:30 +02:00
Nestor Soriano
391474c5ef
Fix code sniffer errors in class-wc-tests-product.php
2020-06-29 15:20:49 +02:00
Nestor Soriano
9aa3c54bd9
Fix variable product stock status not being properly set on save
...
When a product is saved its validate_props method is invoked,
and this recalculates the stock_status property based on whether
the product manages stock or not, the stock quantity, and the
value of the woocommerce_notify_no_stock_amount option.
In the case of variable products, and when stock is managed, the stock
was set to "instock" when the current stock was enough, but only
if the "stock_quantity" property was in the list of changed properties
for the object (the method in the base product class doen't check
for changed properties). This is a problem because the
wc_update_product_stock function updates stock_quantity but via direct
database modification, and thus stock_quantity isn't considered
modified. Therefore stock modifications via wc_update_product_stock
don't update stock_status on the product (e.g. when going from 0 to 1
after a refund the stock status will remain as "outofstock").
The fix consists of removing the check for changed properties since
it's not done anyway in the other cases (when stock is below the
woocommerce_notify_no_stock_amount threshold) nor in the base class.
Also, validate_props is refactored for readabiliyy, and an useless
set_stock_status() call placed right before save()
in wc_update_product_stock is removed.
2020-06-29 14:32:17 +02:00
Néstor Soriano
7b3e902952
Merge pull request #26629 from woocommerce/fix/25552
...
Schedule a deferred product sync for products with parent on delete.
2020-06-29 14:15:10 +02:00
priyankabehera
995cedbcfe
Fixed HTML entities in product name not showing correctly in cart page #26780
2020-06-27 17:42:47 +05:30
Viktor Szépe
f08b3c2d3a
Merge remote-tracking branch 'upstream/master' into patch-1
2020-06-26 12:24:03 +00:00
budzanowski
114ce81757
Use singular batch update endpoint.
2020-06-26 11:09:41 +02:00
Grzegorz Rola
598100eeb0
Settings lost warning should be shown always.
2020-06-26 10:52:28 +02:00
Grzegorz Rola
4008539ced
Merge remote-tracking branch 'upstream/master'
2020-06-26 10:47:32 +02:00
Claudio Sanches
a92da3de46
Merge pull request #26352 from woocommerce/renovate/autoprefixer-9.x
...
Update dependency autoprefixer to v9.8.4
2020-06-25 22:07:13 -03:00
Renovate Bot
9dcbd48e67
Update dependency autoprefixer to v9.8.4
2020-06-26 00:48:50 +00:00
Christopher Allford
7331036d17
Moved synchronous webhook execution into a shutdown function
...
One of the problems with synchronous webhooks is that they are executed as soon as the related action is. Since we may call an action multiple times in the process of updating something, this causes only the first action to trigger the hook. This differs from asynchronous execution because in that case, the web hook will be executed after the entire request has completed.
2020-06-25 16:54:17 -07:00
Claudio Sanches
0757f711de
Need to use edit_others_shop_orders also for coupons menu item
2020-06-25 20:34:28 -03:00
Claudio Sanches
8609500cc2
Check for the correct cap for shop_coupon
2020-06-25 20:31:06 -03:00
Claudio Sanches
f5b9af8591
Keep WooCommerce menu structure if user can edit others shop orders
2020-06-25 20:01:12 -03:00
Paul Sealock
75cd74fe24
Bump wc-admin version 1.3.0-rc.2
2020-06-25 15:23:50 +12:00
Ron Rennick
ce70d6ad7a
add Google weblight user agent check
2020-06-24 14:26:25 -03:00
Claudio Sanches
c3afafee76
Update template version
2020-06-24 11:53:39 -03:00
Dan Bitzer
25fbe58872
Add order note action docblock
2020-06-24 09:35:46 +09:30
Claudio Sanches
da19e6af27
Updated algerian states based on the CLDR list
...
Based on https://github.com/unicode-org/cldr/blob/release-37/common/subdivisions/en.xml#L1176-L1224
2020-06-23 17:14:59 -03:00
Claudio Sanches
f4d11c89f3
Merge branch 'master' into issue-24266-solution
2020-06-23 16:47:30 -03:00
Claudio Sanches
a008e8a9ac
Fixed coding standards
2020-06-23 16:40:53 -03:00
Claudio Sanches
77f1842a9a
Fixed "Attica" name
2020-06-23 14:36:30 -03:00
Ron Rennick
e9f71ac24c
Merge pull request #26802 from woocommerce/fix/25833
...
introduce woocommerce_enable_nocache_headers filter
2020-06-23 13:35:13 -03:00
Ron Rennick
e56ef185b0
Merge pull request #26809 from woocommerce/fix/25606
...
remove privacy page dropdown
2020-06-23 13:34:33 -03:00
Ron Rennick
524b7e7876
Merge pull request #26840 from woocommerce/test/template-cache-clearing
...
add template cache unit test
2020-06-23 13:32:52 -03:00
Claudio Sanches
c192c4082e
Merge pull request #26649 from woocommerce/renovate/mocha-7.x
...
Update dependency mocha to v7.2.0
2020-06-23 13:06:46 -03:00
Claudio Sanches
6890251b0e
Fixed typos and coding standards
2020-06-23 11:51:19 -03:00
Giorgos Sarigiannidis
ee3a1b7e5e
Update states.php
...
Updated Greek states based on the names from the CLDR list (see: https://github.com/woocommerce/woocommerce/pull/26719#pullrequestreview-435847710 )
2020-06-23 17:47:31 +03:00
Renovate Bot
1551775307
Update dependency mocha to v7.2.0
2020-06-23 14:46:03 +00:00
Claudio Sanches
d1bd90fc8f
Merge pull request #26714 from woocommerce/dependabot/npm_and_yarn/websocket-extensions-0.1.4
...
Bump websocket-extensions from 0.1.3 to 0.1.4
2020-06-23 11:29:17 -03:00
Claudio Sanches
3bb7f30c01
Merge branch 'master' into fix/25561
2020-06-23 11:23:29 -03:00
Claudio Sanches
f2299ecfa8
Fixed coding standards
2020-06-23 11:09:21 -03:00
Claudio Sanches
ca9a76c462
Fixed coding standards
2020-06-23 10:46:26 -03:00
Claudio Sanches
6b1fe47901
Merge pull request #26790 from woocommerce/renovate/docker-wordpress-5.x
...
Update wordpress Docker tag to v5.4.2
2020-06-23 10:12:24 -03:00
Peter Fabian
a442f183ad
Merge pull request #26849 from woocommerce/fix/26845
...
Put back the remove element for multiselects on selectWoo
2020-06-23 15:00:02 +02:00
Néstor Soriano
fbe03ba256
Merge pull request #26848 from woocommerce/update/wc-admin-1.3.0-rc.1
...
Bump wc-admin to 1.3.0-rc.1
2020-06-23 14:54:55 +02:00