woocommerce/includes/admin
vedanshujain 892b7caa37 Stock managment fixes:
1. Use $already_reduced_stock instead of also considering $refunded_item_quantity while deleting orders. This will bring back part of #27504 again, but for now this seems to be the best solution for countering #28605. It needs discussion whether deleting a line item completely should also undo any refund related changes on it or not.

2. Also mark `stock_reduced` flag on order if any of the line item has any `_reduced_stock` flag. This will allow for stock restoring logic to work properly when order is cancelled.

3. Only adjust line item stock when order is in `processing`, `completed` or `on-hold` status state, because we need to reduce stocks on these status only. Stock adjustments in refunds or when changing statuses is already taken care of by their specific hooks.
2020-12-17 22:28:21 +05:30
..
helper Fix requires_php check 2020-11-13 16:47:26 -03:00
importers Fixed package tag usage 2020-08-05 13:36:24 -03:00
list-tables Fix incorrect capability for product sorting link 2020-10-22 13:03:35 -05:00
marketplace-suggestions Fixed package tag usage 2020-08-05 13:36:24 -03:00
meta-boxes Merge pull request #28416 from woocommerce/fix/issue-27154 2020-11-30 06:14:15 -08:00
notes Replaced the deprecated `WC_Admin_Note` class 2020-11-12 13:26:30 -08:00
plugin-updates Update SSR version to check against major versions only closes #27972 2020-10-27 08:16:35 -07:00
reports Merge pull request #27352 from juliquiron/fix/slow-wc-customer-get-operations 2020-12-14 09:43:04 +05:30
settings Simplify drafts excluding logic (ref #24136) 2020-10-06 18:11:58 +03:00
views Merge pull request #28332 from woocommerce/update/replace-jquery-click 2020-12-07 06:03:56 -08:00
class-wc-admin-addons.php Make wc shipping button also purple 2020-11-10 19:43:11 +02:00
class-wc-admin-api-keys-table-list.php Fix PEAR.Functions.FunctionCallSignature violations 2019-12-20 15:25:23 -03:00
class-wc-admin-api-keys.php Fix PEAR.Functions.FunctionCallSignature violations 2019-12-20 15:25:23 -03:00
class-wc-admin-assets.php Fixed package tag usage 2020-08-05 13:36:24 -03:00
class-wc-admin-attributes.php Replace usages of depracted jQuery.fn.click() event shorthand 2020-11-18 15:27:46 -03:00
class-wc-admin-customize.php Fixed coding standards to make trigger a test on Travis 2020-08-11 20:11:07 -03:00
class-wc-admin-dashboard.php Fix: use the correct parameter when calling get_avatar() 2020-10-22 17:43:59 -03:00
class-wc-admin-duplicate-product.php Fixed package tag usage 2020-08-05 13:36:24 -03:00
class-wc-admin-exporters.php Fixed package tag usage 2020-08-05 13:36:24 -03:00
class-wc-admin-help.php merge current master 2020-08-13 14:33:07 -03:00
class-wc-admin-importers.php Fixed package tag usage 2020-08-05 13:36:24 -03:00
class-wc-admin-log-table-list.php Fixed package tag usage 2020-08-05 13:36:24 -03:00
class-wc-admin-menus.php Merge pull request #26338 from woocommerce/fix/25561 2020-07-08 12:09:28 -03:00
class-wc-admin-meta-boxes.php Fixed package tag usage 2020-08-05 13:36:24 -03:00
class-wc-admin-notices.php Merge pull request #27696 from woocommerce/fix/version-race-conditions 2020-10-14 20:18:47 -03:00
class-wc-admin-permalink-settings.php Fixed package tag usage 2020-08-05 13:36:24 -03:00
class-wc-admin-pointers.php Restored pointers position 2020-08-12 21:46:36 -03:00
class-wc-admin-post-types.php Merge pull request #27842 from sudoshreyansh/fix/27839 2020-10-14 18:06:10 -03:00
class-wc-admin-profile.php Fixed package tag usage 2020-08-05 13:36:24 -03:00
class-wc-admin-reports.php Fixed package tag usage 2020-08-05 13:36:24 -03:00
class-wc-admin-settings.php Fixed use __DIR__ for relative paths 2020-08-26 18:46:44 -03:00
class-wc-admin-setup-wizard.php Fix version in which the setup wizard was deprecated 2020-09-22 11:20:33 -03:00
class-wc-admin-status.php Update SSR version to check against major versions only closes #27972 2020-10-27 08:16:35 -07:00
class-wc-admin-taxonomies.php Convert optional-before-required arguments to required (take 2) 2020-10-16 13:08:31 +02:00
class-wc-admin-webhooks-table-list.php Performance: Support pagination to avoid double queries to search webhooks 2019-02-18 14:58:32 +00:00
class-wc-admin-webhooks.php Replace 'DIRECTORY_SEPARATOR' with '/' 2020-08-26 15:50:34 -05:00
class-wc-admin.php Replace usages of depracted jQuery.fn.click() event shorthand 2020-11-18 15:27:46 -03:00
wc-admin-functions.php Stock managment fixes: 2020-12-17 22:28:21 +05:30
wc-meta-box-functions.php Fixed package tag usage 2020-08-05 13:36:24 -03:00