Setup wizard: use a setup wizard specific ID for the Jetpack connection URL.

This commit is contained in:
Jeff Stieler 2017-09-27 14:04:40 -06:00
parent 5e33fc0b58
commit f6c0054aa1
1 changed files with 1 additions and 1 deletions

View File

@ -1494,7 +1494,7 @@ class WC_Admin_Setup_Wizard {
'from' => 'wpcom',
'activate_error' => false,
) ) );
$connection_url = Jetpack::init()->build_connect_url( true, $redirect_url, 'woocommerce' );
$connection_url = Jetpack::init()->build_connect_url( true, $redirect_url, 'woocommerce-setup-wizard' );
wp_redirect( esc_url_raw( $connection_url ) );
exit;