Claudio Sanches
6e2086e3eb
Check if $product exists before using
...
And removed some PHP variables.
2020-11-11 19:55:59 -03:00
Claudio Sanches
cb727736c0
Fixed placeholders and translators style
2020-11-11 19:47:03 -03:00
Claudio Sanches
d77fc005d2
Merge pull request #28233 from woocommerce/fix/template-names
...
Load product category content with content-product-cat.php
2020-11-11 19:31:08 -03:00
Claudio Sanches
404bdbff48
Merge pull request #28242 from woocommerce/update/replace-usage-of-depracted-function
...
Replace call to deprecated woocommerce_reset_loop()
2020-11-11 19:30:02 -03:00
Roy Ho
5dd19658f5
Merge pull request #28069 from woocommerce/fix/issue-27504
...
Fix stock reducing incorrect amount when order item is deleted after …
2020-11-11 14:05:37 -08:00
Christopher Allford
84968cd1ff
Removed Travis Composer downgrade
2020-11-11 13:53:53 -08:00
Christopher Allford
b22268c754
Updated to Composer v2
...
This also updates the woocommerce/woocommerce-admin and woocommerce/woocommerce-blocks packages as their dependence on `composer/installers` precludes update otherwise
2020-11-11 13:45:51 -08:00
roykho
4ec270b93d
Add unit tests for the fix
2020-11-11 15:28:06 -06:00
roykho
134786ada8
Fix stock reducing incorrect amount when order item is deleted after a refund closes #27504
2020-11-11 15:28:06 -06:00
Roy Ho
edb06be34e
Merge pull request #27997 from woocommerce/fix/issue-27656
...
Fix checkout page not displaying visual blocking when place order is …
2020-11-11 12:53:17 -08:00
roykho
18bc862773
Remove fix from TwentyNineteen as the issue can't be reproduce anymore
2020-11-11 12:52:05 -08:00
Rodrigo Primo
d8fdfabebf
Merge pull request #28161 from woocommerce/renovate/webpack-4.x
...
Update dependency webpack to v4.44.2
2020-11-11 16:24:34 -03:00
Rodrigo Primo
8c0d8115b1
Merge pull request #28160 from woocommerce/renovate/node-sass-4.x
...
Update dependency node-sass to v4.14.1
2020-11-11 16:24:11 -03:00
Rodrigo Primo
9f1567009f
Merge pull request #28156 from woocommerce/renovate/babel-monorepo
...
Update babel monorepo
2020-11-11 16:23:43 -03:00
Rodrigo Primo
2399668a05
Simplify code per reviewer suggestion
...
See https://github.com/woocommerce/woocommerce/pull/28058#pullrequestreview-519096925
2020-11-11 16:09:33 -03:00
Roy Ho
e0204e04e4
Merge pull request #28241 from woocommerce/fix/27566
...
Add shipping, tax and fee lines to refund response for better information in refund REST API.
2020-11-11 08:11:56 -08:00
Tam Mullen
04c9e2f12f
Merge pull request #28191 from woocommerce/packages/core-tests/functional-permlainks-test
...
add permalinks working test
2020-11-11 14:58:01 +00:00
Tam Mullen
8f46eec95a
Merge pull request #28198 from woocommerce/add/package-changelogs
...
add/update e2e package change logs
2020-11-11 14:12:52 +00:00
Rodrigo Primo
5d1435836d
Replace call to deprecated woocommerce_reset_loop()
...
This commit simply replaces the single call in WooCommerce core codebase to the deprecated woocommerce_reset_loop() function with its replacement wc_reset_loop().
2020-11-11 10:26:56 -03:00
vedanshujain
62ae94d93e
Add shipping, tax and fee lines to refund response for better information.
2020-11-11 18:47:48 +05:30
Renovate Bot
311ccb9944
Update dependency @wordpress/eslint-plugin to v7.3.0
2020-11-11 02:29:27 +00:00
Christopher Allford
72e93f11b2
Update CHANGELOG.md
...
Updated the `@woocommerce/api` changelog
2020-11-10 16:32:11 -08:00
Christopher Allford
93d6b261c6
Merge pull request #28129 from woocommerce/add/lerna-hoist
...
add lerna hoist, use consistent package versions
2020-11-10 16:13:58 -08:00
Claudio Sanches
f1f2c3cfff
Load product category content with content-product-cat.php
2020-11-10 20:54:59 -03:00
Claudio Sanches
54847356d0
Merge pull request #28226 from CHEWX/patch-2
...
[typo] - fix
2020-11-10 20:50:07 -03:00
Christopher Allford
28f5704ff3
Merge pull request #28206 from woocommerce/packages/api/add/simple-product
...
@woocommerce/api: Complete SimpleProduct implementation
2020-11-10 15:11:52 -08:00
Ron Rennick
ac89e09c9e
remove duplicate package dependency entries
2020-11-10 16:29:22 -04:00
Gerhard Potgieter
6832dc96a4
Make wc shipping button also purple
2020-11-10 19:43:11 +02:00
Gerhard Potgieter
3c1352d36c
Remember to break
2020-11-10 19:36:34 +02:00
Gerhard Potgieter
caf2ea99fa
Shorten title as per feedback
2020-11-10 19:26:44 +02:00
Gerhard Potgieter
8afae13724
Update addons-button-solid to new purple
2020-11-10 18:37:43 +02:00
Gerhard Potgieter
48ff367299
Revert "Use right purple"
...
This reverts commit 0f62b77d6e
.
2020-11-10 18:33:24 +02:00
Gerhard Potgieter
0f62b77d6e
Use right purple
2020-11-10 18:32:32 +02:00
Gerhard Potgieter
a0812d5009
Remove redirect as it does not work with the background installer
2020-11-10 18:28:47 +02:00
Gerhard Potgieter
b5fb7c0104
Add purple woo button
2020-11-10 18:26:59 +02:00
Tom Hopcraft
296d912151
[typo] - fix
2020-11-10 15:46:20 +00:00
Gerhard Potgieter
b5a4a1597f
Fix current section check, phpcs linting errors.
2020-11-10 16:48:11 +02:00
Roy Ho
4954c17e89
Merge pull request #28177 from davefx/patch-11
...
Optimizing memory usage
2020-11-10 06:13:03 -08:00
vedanshujain
6ed8ffe850
Addressed PR review comments #27734
2020-11-10 14:23:45 +05:30
vedanshujain
3dd80d6d65
Add polyfill for wp_cache_get_multiple
2020-11-10 14:23:44 +05:30
vedanshujain
0b29232fe3
Prime caches only when needed.
2020-11-10 14:23:44 +05:30
vedanshujain
eeb8851717
Minor fixups for PR #27734
2020-11-10 14:23:44 +05:30
vedanshujain
4599884dd0
Fix failing tests.
2020-11-10 14:23:43 +05:30
vedanshujain
bb1e2f44ae
Removed/reverted more unnecessary changes.
2020-11-10 14:23:43 +05:30
vedanshujain
12f69c2d2d
Only set cache when neccessary.
...
This creates a tradeoff in optimizing repeated queries vs on off queries.
Another tradeoff is making more cache get calls as opposed to more SQL calls.
2020-11-10 14:23:43 +05:30
vedanshujain
a5fb3178f0
Drop CacheHydration class and do it directly.
...
Primary reason for dropping the cache hydration is that seems like we can acheive the same results without it, so no need to add this additional complexity to our code.
2020-11-10 14:23:43 +05:30
vedanshujain
975783b2b4
Also support methods in case direct accessing key is deprecated.
...
For example, in case of refunds, directly accessing parent_id is deprecated, we should use get_parent_id instead.
2020-11-10 14:23:42 +05:30
vedanshujain
8ab9fd26ef
Set key before trying to add values
2020-11-10 14:23:42 +05:30
vedanshujain
d502407145
Use CacheHydration to speed up fetching Order data.
...
This also primes various caches by fetching data well in advance, this would have been individual SQL queries otherwise.
2020-11-10 14:23:42 +05:30
vedanshujain
1788de4cda
Add support for fetching collection
2020-11-10 14:23:41 +05:30