Weird email at signup
-
So, i’ve already read about a strange confirmation at signup …
but if i remove the action (like suggested) no email will come troughwith the normal signup on WP i the user get a nice email
with your signup i get this email with a link to modify the pwdi’ve looked around and in this file class-xoo-el-form-handler.php
at row 760 there’s this code:
public static function newuser_notification_email( $wp_new_user_notification_email, $user, $blogname ){
$key = get_password_reset_key( $user );
if ( is_wp_error( $key ) ) {
return $wp_new_user_notification_email;
}
/* translators: %s: User login. */
$message = sprintf( __( ‘Username: %s’, ‘easy-login-woocommerce’ ), $user->user_login ) . “\r\n\r\n”;
$message .= __( ‘To set your password, visit the following address:’, ‘easy-login-woocommerce’ ) . “\r\n\r\n”;
$message .= ‘<‘ . network_site_url( “?action=reset_password&key=$key&login=” . rawurlencode( $user->user_login ), ‘login’ ) . “>\r\n”;$wp_new_user_notification_email[‘message’] = $message;
return $wp_new_user_notification_email;
}the message in the email is exactly this one “to set your password, visit the following address”
i’d love to just use the normal email sent using the normal register form in wordpress
- The topic ‘Weird email at signup’ is closed to new replies.