Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
wp_safe_redirect()
in place of wp_redirect()
.
- Loading branch information
6e2a8d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wp_safe_redirect( $redirection, 301 ); it's working properly.