fix activation link placeholder, remove repeated um_convert_tags()

This commit is contained in:
andrewshuba
2019-05-06 09:24:05 +03:00
parent 8e3a42d453
commit 7a5cbf46e7
4 changed files with 40 additions and 3 deletions
+3
View File
@@ -123,6 +123,9 @@ function um_action_request_process() {
wp_die( __( 'You do not have permission to make this action.', 'ultimate-member' ) );
}
add_filter( 'um_template_tags_patterns_hook', 'account_activation_link_tags_patterns', 10, 1 );
add_filter( 'um_template_tags_replaces_hook', 'account_activation_link_tags_replaces', 10, 1 );
um_fetch_user( $uid );
UM()->user()->email_pending();
exit( wp_redirect( UM()->permalinks()->get_current_url( true ) ) );