Remove Purchase task from onboarding task list (#40121)

This commit is contained in:
nigeljamesstevenson 2023-09-18 14:51:44 +01:00 committed by GitHub
commit 2d0fd11056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,6 @@ import './Marketing';
import './appearance'; import './appearance';
import './tax'; import './tax';
import './woocommerce-payments'; import './woocommerce-payments';
import './purchase';
import './deprecated-tasks'; import './deprecated-tasks';
import './customize-store-tasklist-item'; import './customize-store-tasklist-item';

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Removed references to the un-used Purchase task item in the onboarding task list.

View File

@ -44,7 +44,6 @@ class TaskLists {
*/ */
const DEFAULT_TASKS = array( const DEFAULT_TASKS = array(
'StoreDetails', 'StoreDetails',
'Purchase',
'Products', 'Products',
'WooCommercePayments', 'WooCommercePayments',
'Payments', 'Payments',
@ -112,7 +111,6 @@ class TaskLists {
$tasks = array( $tasks = array(
'CustomizeStore', 'CustomizeStore',
'StoreDetails', 'StoreDetails',
'Purchase',
'Products', 'Products',
'WooCommercePayments', 'WooCommercePayments',
'Payments', 'Payments',