Skip to content

Commit

Permalink
Support redirect_to_settings_page in jetpack URL
Browse files Browse the repository at this point in the history
  • Loading branch information
oaratovskyi committed Nov 28, 2024
1 parent d0aa3bb commit 6e810a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-payments-account.php
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,7 @@ public function maybe_handle_onboarding() {
'auto_start_test_drive_onboarding' => $auto_start_test_drive_onboarding ? 'true' : false,
'from' => WC_Payments_Onboarding_Service::FROM_WPCOM_CONNECTION,
'source' => $onboarding_source,

'redirect_to_settings_page' => $redirect_to_settings_page ? 'true' : false,
],
self::get_connect_url( $wcpay_connect_param ) // Instruct Jetpack to return here (connect link).
),
Expand Down

0 comments on commit 6e810a0

Please sign in to comment.