Skip to content

Commit

Permalink
#3884 removed double escaping
Browse files Browse the repository at this point in the history
#3884 removed double escaping
  • Loading branch information
MohammedKaludi committed May 20, 2020
1 parent cfc20a3 commit 8bf414c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function ampforwp_redirection() {
}else{
$current_url = user_trailingslashit(esc_url($current_url));
}
wp_safe_redirect( esc_url($current_url) );
wp_safe_redirect( $current_url );
exit;
}

Expand Down

0 comments on commit 8bf414c

Please sign in to comment.