From 3105695b2bcb5093d7d26f820f0c789867e306df Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Thu, 11 Aug 2016 16:36:28 +0800 Subject: [PATCH] Add new filter hook 'um_activate_url' --- core/um-permalinks.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/um-permalinks.php b/core/um-permalinks.php index 858b400b..8a773dd8 100644 --- a/core/um-permalinks.php +++ b/core/um-permalinks.php @@ -196,8 +196,7 @@ class UM_Permalinks { global $ultimatemember; if ( !um_user('account_secret_hash') ) return false; - - $url = add_query_arg( 'act', 'activate_via_email', home_url() ); + $url = add_query_arg( 'act', 'activate_via_email', $url ); $url = add_query_arg( 'hash', um_user('account_secret_hash'), $url ); $url = add_query_arg( 'user_id', um_user('ID'), $url );