• I discovered that, for whatever reason, this line in my wp-login.php file on line 390…

    $message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";

    … causes the reset password URL not to be displayed when the user receives the reset-password email. I found that replacing “<” and “>” with “(” and “)” respectively fixed it. But naturally, when I updated WordPress, it returned to its former state.

    Is there anything I can do here to stop this happening every time WordPress updates, or must I just always remember to change it when updating?

    Thanks in advance,
    Kyle.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not a Developing with WordPress topic.

    You know this part but just to be complete: what I tell you three times is true.

    1. Do not edit any of the files that come with WordPress.
    2. Do not edit any of the files that come with WordPress.
    3. Do not edit any of the files that come with WordPress.

    Whenever you do you are guaranteed to lose your changes.

    I found that replacing “<” and “>” with “(” and “)” respectively fixed it. But naturally, when I updated WordPress, it returned to its former state.

    There may be a filter somewhere but the problem is your mail client. Using <link> is accepted by standards based mail clients. I’ll look some more to see if there’s a way to edit that content without hacking a core WordPress file.

    Thread Starter crackenuts

    (@crackenuts)

    Yeah, very aware of the sensitivities of changing core files. But that’s the only fix I can find. It’s Apple Mail, or Mac Mail, or whatever they call it. So a commonly used client. The problem’s obviously pervasive enough that I found the answer quite quickly by Googling it.

    Thanks for your time. Appreciate it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not losing slight core settings when updating WordPress’ is closed to new replies.