Fix redirection

This commit is contained in:
champsupertramp
2016-03-02 21:50:18 +08:00
parent 9ab65a84d0
commit 3967a1a7bd
5 changed files with 59 additions and 7 deletions
+1 -1
View File
@@ -136,7 +136,7 @@
// Priority redirect
if ( isset( $args['redirect_to'] ) ) {
exit( wp_redirect( $args['redirect_to'] ) );
exit( wp_redirect( um_get_redirect_url( $args['redirect_to'] ) ) );
}
// Role redirect