Skip to content

Commit

Permalink
Fix Jetpack onboarding by replacing the "from" query param (#9949)
Browse files Browse the repository at this point in the history
  • Loading branch information
elazzabi authored Dec 13, 2024
1 parent 42bf30b commit 1db6178
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog/replace-from-url-query
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: fix

Fix Jetpack onboarding URL query from "woocommerce-payments" to "woocommerce-core-profiler"
2 changes: 1 addition & 1 deletion includes/wc-payment-api/class-wc-payments-http.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function start_connection( $redirect ) {
wp_safe_redirect(
add_query_arg(
[
'from' => 'woocommerce-payments',
'from' => 'woocommerce-core-profiler',
'plugin_name' => 'woocommerce-payments',
'calypso_env' => $calypso_env,
],
Expand Down

0 comments on commit 1db6178

Please sign in to comment.