Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter fightthecurrent

    (@fightthecurrent)

    I referrence this WordPres bug report: http://core.trac.wordpress.org/ticket/21095

    Thread Starter fightthecurrent

    (@fightthecurrent)

    It’s not glamorous, but it does the job for now:

    function cur_modify_retrieve_password_messsage($message, $key){
    
         // Replace first open bracket
         $message = str_replace('<', '', $message);
    
         // Replace second open bracket
         $message = str_replace('>', '', $message);
    
         // Convert line returns to <br>'s
         $message = str_replace("\r\n", '<br>', $message);
    
         return $message;
    }
    add_filter('retrieve_password_message', 'cur_modify_retrieve_password_messsage', 10, 2);

    I’m having this same issue with the plugin stripping the password reset link from emails when “Force all emails to be sent as HTML” is checked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Force HTML emails conflicting with plain text emails’ is closed to new replies.