Skip to content

Commit 1b1c84f

Browse files
committed
Oops safe redirect is for local redirect
1 parent 7446e92 commit 1b1c84f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plans/user-interface/upgrade-sidebar-menu-integration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function do_redirect() {
107107
$link = $this->shortlinker->build_shortlink( 'https://yoa.st/wordpress-menu-upgrade-woocommerce' );
108108
}
109109

110-
\wp_safe_redirect( $link );
110+
\wp_redirect( $link );//phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect -- Safe redirect is used here.
111111
exit;
112112
}
113113
}

0 commit comments

Comments
 (0)