Skip to content

Commit

Permalink
provide a manual link in case browser redirection fails
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-418 committed Aug 28, 2018
1 parent ec760c6 commit 8e4eb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ function eypd_maybe_url( $url ) {
function eypd_redirect_after_register() {
if ( isset( $_POST['signup_username'] ) ) {
$profile_url = home_url() . '/members/' . $_POST['signup_username'] . '/profile/edit';
echo $html = '<b>Redirecting to profile ... <meta http-equiv="refresh" content="0; URL=' . $profile_url . '" />';
echo $html = '<b>Redirecting to profile ... <meta http-equiv="refresh" content="0; URL=' . $profile_url . '" /> <a href='.$profile_url . '>click here</a> if you are not automatically redirected.';
}
}

Expand Down

0 comments on commit 8e4eb5a

Please sign in to comment.