Skip to content

Commit

Permalink
Always consider redirect_to in Jetpack Free button (#94656)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsreberski authored Sep 19, 2024
1 parent 32ec590 commit 16d77c7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export default function useJetpackFreeButtonProps(
: recommendationsUrl;

if (
! siteWpAdminUrl &&
urlQueryArgs?.redirect_to &&
urlQueryArgs.redirect_to.toLowerCase().includes( 'wp-admin/admin.php?page=my-jetpack' )
) {
Expand Down

0 comments on commit 16d77c7

Please sign in to comment.