Setup wizard: use a setup wizard specific ID for the Jetpack connection URL.
This commit is contained in:
parent
5e33fc0b58
commit
f6c0054aa1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue