diff --git a/plugins/woocommerce-admin/client/task-lists/fills/index.ts b/plugins/woocommerce-admin/client/task-lists/fills/index.ts index 06819e36081..da4ec370ce4 100644 --- a/plugins/woocommerce-admin/client/task-lists/fills/index.ts +++ b/plugins/woocommerce-admin/client/task-lists/fills/index.ts @@ -8,7 +8,6 @@ import './Marketing'; import './appearance'; import './tax'; import './woocommerce-payments'; -import './purchase'; import './deprecated-tasks'; import './customize-store-tasklist-item'; diff --git a/plugins/woocommerce/changelog/remove-onboarding-purchase-task b/plugins/woocommerce/changelog/remove-onboarding-purchase-task new file mode 100644 index 00000000000..22d19ea136e --- /dev/null +++ b/plugins/woocommerce/changelog/remove-onboarding-purchase-task @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Removed references to the un-used Purchase task item in the onboarding task list. diff --git a/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php b/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php index 8f4fdec80c5..361d8dee1d7 100644 --- a/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php +++ b/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php @@ -44,7 +44,6 @@ class TaskLists { */ const DEFAULT_TASKS = array( 'StoreDetails', - 'Purchase', 'Products', 'WooCommercePayments', 'Payments', @@ -112,7 +111,6 @@ class TaskLists { $tasks = array( 'CustomizeStore', 'StoreDetails', - 'Purchase', 'Products', 'WooCommercePayments', 'Payments',