The problem is the <
and >
which surround the reset URL in wp-login.php
. You can remove them using retrieve_password_message in your theme functions.php
file like below:
add_filter("retrieve_password_message", "mapp_custom_password_reset", 99, 4);
function mapp_custom_password_reset($message, $key, $user_login, $user_data ) {
$message = "Someone has requested a password reset for the following account:
" . sprintf(__('%s'), $user_data->user_email) . "
If this was a mistake, just ignore this email and nothing will happen.
To reset your password, visit the following address:
" . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n";
return $message;
}
Related Posts:
- Disable user registration password email
- Customizing lost password email
- Reset Password – change from name and email address
- Locked out of my own blog and password reset not working
- Change Password notification text on mail
- Emailing passwords: Setup installed on home server using XAMPP
- Requiring wp-login.php sends headers automatically
- Resend password chosen by WP administrator? [duplicate]
- Changed my email. Locked out
- Changing old email to new email, lost the password
- Why would it take four reset password attempts to finally get the e-mail?
- Sending a password reset link
- forgot password page with expiry link email of 60 minutes
- Cant login, Password MUST be reset error, after reset
- What is the difference between ports 465 and 587?
- User Without Email?
- Editing ‘Password Reset’ E-mail
- Email confirmation on registration
- How do i send mail with custom Form Data using WordPress
- Fwd: [Website Name] Notice of Email Change [closed]
- Send all WPMU emails via SMTP
- Force all users in MU to change their passwords
- email wordpress users using BCC
- email sends from [email protected] even though I have it set to something else
- How to sent one form values to 2 different sites in wordpress
- General Setting Allow Multiple Email Notification
- How to customize reset_url or $reset_url
- Trigger WordPress Actions from Email?
- Contact form sender email
- WordPress Add New User – Send an Activation Email
- Send email only upon draft
- wordpress do not let user registered with info@ email and other reserved emails to get registered by users
- Emails marked as spam because it’s contain via box4231.bluehost.com
- How to change the text of automatic E-Mails e.g. after changing your password? (German localization)
- Limit number of emails per second
- Forgot Password/ Password Reset Page does not exist
- WordPress reset password email is not working – woocommerce and checkmail does work
- Change Password Confirmed Email Text
- Throttling email frequency
- User registration email and let user choose pasword
- Correctly configure SPF/DMARC record to work with WordPress [closed]
- 2 Email addresses for each user
- password recovery key is invalid on custom reset
- Mail function is not working
- How to set up a simple email subscription?
- PAGE Specific Email Notifications
- Send bulk emails without timeout
- How can I change the email sender name from wordpress to (myblogname) on the “lost password” email?
- How to send post notification when a Author and Contributor post?
- Change the Sender(not From) on wp_mail() function [closed]
- Is Postfix required for WordPress contact forms in general?
- Mailing list sign up form without plugin
- How to change “Reset Password” text on submit button
- Adding “reply-to” in the email [closed]
- WordPress Won’t Send Email When a User Register
- How do I troubleshoot registration/password email errors?
- Confirmation required on users email change
- Email address used by website but I do not know where
- wp_mail not sending email on custom function
- Change email address change notice from WordPress
- Getting image in mail
- Send email daily using `wp_mail`
- How to send confirmation email after payment made via paypal?
- WP stopped emailing notifications about new comments
- How to change the format of the subcriber email
- wp_mail() won’t send mail when it’s a variable, only when hard coded
- WordPress and IPN problem
- Send email for confirmation during user registration
- I just had an email from wordpress. what does it mean?
- About Custom Email Template Design Responsive
- How to recover one of WP email addresses?
- Custom Password Reset
- Send email using wordpress plugin on behalf of someone with their permission
- How to apply a function to the value $email of get_user_by to override email_exists?
- Reset WordPress admin users to limit access
- New user notification issue
- E-Mail Notification on post edit
- I need to verify emails when users signup
- Why do WordPress emails to multiple recipients include \n in the list
- How to set password from frontend if have activation key and user login in url in wordpress?
- Where is the account email address located?
- SMTP not working for Comments Email Notifications
- wordpress wp mail not changing sender mail
- How can I send an email 24 hours after first email?
- WordPress doesn’t send SMTP email even by phpmailer hook
- Whitelist email sent by WordPress
- Asynchronous emailing
- Send Custom Post Notification to Followers
- Get emails of register user in WordPress
- Mail function not working with user accounts
- Alter the reset password link
- Create WP account from an external email form submission?
- Display “a generated one [avatar] based on their e-mail address”
- Allow users to register as a higher role than default with code
- Can wordpress users check GMAIL (G Suite) inbox & send email from their membership account on WordPress? [closed]
- Send email once every 12 months to a particular user [closed]
- What’s the simplest way to send WordPress posts to a Mailchimp list? [closed]
- Better way to change the default password reset url with the woocommerce one?
- How to add verification on email address change?
- How can I redirect the user to the page they were on when they clicked “Lost Password” using “retrieve_password_message” filter