Update store setup link to redirect to setup wizard (https://github.com/woocommerce/woocommerce-admin/pull/5200)

This commit is contained in:
Joshua T Flowers 2020-10-06 23:35:54 +03:00 committed by GitHub
parent 443e2f9a55
commit 173b8c6262
1 changed files with 3 additions and 3 deletions

View File

@ -53,15 +53,15 @@ class Onboarding_Profiler {
$note->add_action( $note->add_action(
'continue-profiler', 'continue-profiler',
__( 'Continue Store Setup', 'woocommerce-admin' ), __( 'Continue Store Setup', 'woocommerce-admin' ),
wc_admin_url( '&enable_onboarding=1' ), wc_admin_url( '&path=/setup-wizard' ),
NOTE::E_WC_ADMIN_NOTE_UNACTIONED, Note::E_WC_ADMIN_NOTE_UNACTIONED,
true true
); );
$note->add_action( $note->add_action(
'skip-profiler', 'skip-profiler',
__( 'Skip Setup', 'woocommerce-admin' ), __( 'Skip Setup', 'woocommerce-admin' ),
wc_admin_url( '&reset_profiler=0' ), wc_admin_url( '&reset_profiler=0' ),
'actioned', Note::E_WC_ADMIN_NOTE_ACTIONED,
false false
); );
return $note; return $note;