• Themosaurus

    (@themosaurus)


    Hi,

    So that took a while to debug, but I was having an issue where my reset password emails were completely stripped of all “<” and “>” symbols which broke all the HTML and made them unreadable. I finally found out that there is a filter in this plugin which specifically strips all “<” and “>” symbols on the lost password message, and what’s more is on PHP_INT_MAX - 20 priority.

    In default WP this email is plain text so it doesn’t cause issues, but in my case I’m using BuddyBoss which adds some HTML to this email to give it a better look. And I can imagine there are many other cases where there would be some HTML added to this email to change its content and design.

    So I was wondering why this filter was added to the plugin as it seems a little random and there’s no setting or any kind of warning or info about it.

    Could this be removed from the plugin, or if it’s actually there for a good reason could it at least be changed to avoid breaking HTML?

    Best regards,

  • The topic ‘Why is there a filter on the “retrieve_password_message” hook?’ is closed to new replies.