From 3898a55dad5957d8b3dbac074c7ba57271556ce5 Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Thu, 3 Mar 2016 14:03:37 +0800 Subject: [PATCH] Fix redirect in registration form --- core/um-actions-register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/um-actions-register.php b/core/um-actions-register.php index 88d1bf55..573a267c 100644 --- a/core/um-actions-register.php +++ b/core/um-actions-register.php @@ -188,7 +188,7 @@ // Priority redirect if ( isset( $args['redirect_to'] ) ) { - exit( wp_redirect( $args['redirect_to'] ) ); + exit( wp_redirect( um_get_redirect_url( $args['redirect_to'] ) ) ); } if ( $status == 'approved' ) {