jetpack
jetpack copied to clipboard
Jetpack AI: user is not redirected back to post after upgrade
The behavior created by https://github.com/Automattic/jetpack/pull/35263 is not working anymore.
Steps to reproduce:
- go to the block editor, add some content and save the draft
- go to the Jetpack sidebar, look for the AI Assistant section and click the upgrade button
- follow the upgrade process
- after buying it, notice the page you get redirected to
Expected behavior:
- user is redirected back to the editor, with the correct post loaded
Current behavior:
- user is redirected back to My Jetpack page
Some details about the redirect implementation:
- to implement the redirect, PR #35263 created a parameter called
redirect_to_referrerthat, when present, would indicate to My Jetpack that theredirect_toURL provided on the checkout flow should be the referrer URL (for out case, the URL to edit the post the user was editing) - it's possible that the behavior of looking to
redirect_to_referrerand deciding which redirect URL to include got lost on recent changes
This issue has been marked as stale. This happened because:
- It has been inactive for the past 6 months.
- It hasn’t been labeled `[Pri] BLOCKER`, `[Pri] High`, `[Type] Feature Request`, `[Type] Enhancement`, `[Type] Janitorial`, `Good For Community`, `[Type] Good First Bug`, etc.
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.